/[libvob]/libvob/vob/fillet/light3d.py
ViewVC logotype

Diff of /libvob/vob/fillet/light3d.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by jvk, Mon Jun 30 11:39:51 2003 UTC revision 1.25 by jvk, Mon Jun 30 12:28:34 2003 UTC
# Line 44  void main( Line 44  void main(
44    
45    
46      col.rgb = lighting.y * diffusemat + lighting.z * specularmat      col.rgb = lighting.y * diffusemat + lighting.z * specularmat
47                + diffuse2 * diffusemat2;                + max(diffuse2, 0) * diffusemat2;
48      // Fog      // Fog
49      // float t = 8*mul(glstate.matrix.mvp, pos).z;      // float t = 8*mul(glstate.matrix.mvp, pos).z;
50      // col.rgb = col.rgb * (1 - t) + float3(1,.5,.2) * t;      // col.rgb = col.rgb * (1 - t) + float3(1,.5,.2) * t;

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26