ITeye博客

yellow的Blog

yellowcxx · 共 3 篇文章

HLSL Shading for 3dsMax 03 - Specular Lighting

[b]Purpose: [/b] Create a Shader to Implement the Phong and Blinn-Phong Specular Lighting. [b]Solution: [/b] [b]1.Study of the Phong Specular Lighting from <>[/b] [img]http://dl2.iteye.com/upload/attachment/0107/6353/578ae703-73fd-31f9-a936-b8c857fd41e9.png[/img] [b]2.the Blinn Modification to Phon…

2015-04-16 10:58 · Shaders · 评论(0) · Shader

HLSL Shading for 3dsMax 02 - Diffuse Lighting

Purpose: Create a Shader to Implement the Lambert's Cosine Law. Solution: 1.Study of the Lambert's Cosine Law from <> [img]http://dl2.iteye.com/upload/attachment/0107/2907/1de30642-82c4-350d-b839-c3f537d69e2a.png[/img] 2.Shader Source [code="C++"] float4x4 wvp : WorldViewProjection ; float4x4 w : W…

2015-04-05 02:05 · Shaders · 评论(0) · Shader

HLSL Shading for 3dsMax 01 - Hello world

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 AmbientColor we…

2015-03-28 15:19 · Shaders · 评论(0) · Shader