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

Comparing libgender/fsh.cg (file contents):
Revision 1.8 by root, Tue Oct 5 10:28:49 2004 UTC vs.
Revision 1.9 by root, Tue Oct 5 11:06:06 2004 UTC

31 float4 diffContrib = glstate.material.diffuse * (litV.y * LightColor + glstate.lightmodel.ambient); 31 float4 diffContrib = glstate.material.diffuse * (litV.y * LightColor + glstate.lightmodel.ambient);
32 float4 specContrib = litV.y * litV.z * LightColor; 32 float4 specContrib = litV.y * litV.z * LightColor;
33 float4 result = diffContrib + specContrib; 33 float4 result = diffContrib + specContrib;
34 34
35 OUT.col = result; 35 OUT.col = result;
36 return OUT; // output of pixel shader 36 return OUT;
37} 37}
38 38

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines