Sunday, March 28, 2010

XNA-ShaderEffect(Step.2)


Normal Map with Diffuse Light

BlackLine: The Diffuse Light  Direction (1,1,1) And (-1,-1,-1,-1)

float3 Data1: TEXCOORD1

Remove :
                  saturate(dot(input.Date1,normalize(lightDir1)));

No comments:

Post a Comment