source: GTP/trunk/Lib/Illum/GPUObscurancesGT/src/projection.vert @ 930

Revision 930, 206 bytes checked in by igarcia, 18 years ago (diff)
Line 
1varying float cosine;
2varying vec2 texCoord;
3
4void main()
5{
6        gl_Position = ftransform();
7        texCoord = gl_MultiTexCoord0.st;
8
9        cosine = (gl_ModelViewMatrixInverseTranspose * vec4(gl_Normal,1.0)).z;
10}
Note: See TracBrowser for help on using the repository browser.