ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/fsh.cg
(Generate patch)

Comparing libgender/fsh.cg (file contents):
Revision 1.17 by root, Wed Oct 6 14:37:34 2004 UTC vs.
Revision 1.18 by root, Sun Oct 10 00:22:49 2004 UTC

16pixelOut main(vertexOut IN, uniform sampler2D Texture) 16pixelOut main(vertexOut IN, uniform sampler2D Texture)
17{ 17{
18 pixelOut OUT; 18 pixelOut OUT;
19 19
20 half SpecExpon = 200; 20 half SpecExpon = 200;
21 float4 AmbiColor = { 0.1, 0.1, 0.1, 1.0 }; 21 float4 AmbiColor = { 0.9, 0.9, 0.9, 1.0 };
22 float4 LightColor = { 1, 1, 1, 1 }; 22 float4 LightColor = { 1, 1, 1, 1 };
23 float4 diffuse_color = tex2D (Texture, IN.TexCoord.xy); 23 float4 diffuse_color = tex2D (Texture, IN.TexCoord.xy);
24 24
25 half3 Ln = normalize (IN.LightVec); 25 half3 Ln = normalize (IN.LightVec);
26 half3 Nn = normalize (IN.WorldNormal); 26 half3 Nn = normalize (IN.WorldNormal);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines