This sample explains how to move lighting calculations to the pixel shader for high-quality per-pixel lighting.
This sample uses Phong reflection to approximate specular light, creating highlights on the object. Specular highlights are light that's reflected directly to a viewer. These highlights can be simulated through a number of techniques.
Other items in the Shader Series
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/