Direct3D HLSL Programming using RenderMonkey IDE
Direct3D HLSL Programming using RenderMonkey IDE
Direct3D HLSL Programming using RenderMonkey IDE
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Diffuse Lighting Effect<br />
• Computes diffuse lighting<br />
based on the normal and<br />
the light vector<br />
• Shader parameters:<br />
– ambient material color<br />
– diffuse material color<br />
– ambient coefficient<br />
– diffuse coefficient<br />
– light direction vector<br />
• Assumes basic knowledge of how <strong>RenderMonkey</strong><br />
interface works<br />
• Distributed as Diffuse.xml workspace<br />
Game Developer Conference, San Jose, CA, March 7 th 2003