New Shader: Diffuse+Spec+Normal+Alpha

Here is an updated version of the shader I’ve been using. The 3 point lights are now using world coordinates instead of camera coordinates, and it now has support for a separate alpha map (I may look into getting it to pull the alpha from the diffuse map’s alpha channel, but since I use this shader for previewing only it isn’t a priority) .

Please note: You still have to flip the V coordinate for your texture projection.

Direct X Shaders

Download Link for DirectX Shader, 3 lights

CGFX Shader

Download Link for CGFX Shader, 4 lights

3 thoughts on “New Shader: Diffuse+Spec+Normal+Alpha

Comments are closed.