文章列表
Purpose:
Create a Shader to Implement the Phong and Blinn-Phong Specular Lighting.
Solution:
1.Study of the Phong Specular Lighting from <<Introduction to 3D Game Programming with DirectX 10>>
2.the Blinn Modification to Phong
the major different between Phong and Blinn is the H( ...
Purpose:
Create a Shader to Implement the Lambert's Cosine Law.
Solution:
1.Study of the Lambert's Cosine Law from <<Introduction to 3D Game Programming with DirectX 10>>
2.Shader Source
float4x4 wvp : WorldViewProjection <string UIWidget="None" ;>;
float4x4 w : ...
Purpose:
Create a HLSL Shader that just use a solid ambient color to shading the model in 3dsMax.
Solution:
1.Create a teapot in 3dsMax
2.Hit shotcut key 'm' to active Material Editor and choice DirectX Shader
3.Load our HLSL Shader file
4.Assign to teapot as a material
5.Adjust the ...