"He who knows not, and knows not that he knows not, is a fool...shun him.
He who knows not, and knows that he knows not, is willing...teach him.
He who knows, and knows not that he knows, is asleep...awaken him.
He who knows, and knows that he knows, is wise...follow him."
- Chinese Probverb
Fragment level phong illumination
Thursday, February 13, 2003 | Permalink
This article goes through the whole process of creating fragment level phong illumination lighting. Both the theory and implementation is explained in detail. Pixel and vertex shader version 2.0 in DirectX 9 is used for the implementation.
This article was also published in the Shader X II