Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/old.trunk/shaders/cel.vert @ 5238

Last change on this file since 5238 was 3542, checked in by bensch, 19 years ago

data: new shaders

File size: 210 bytes
Line 
1uniform vec3 lightPos;
2
3varying vec3 lVec;
4varying vec3 norm;
5
6void main(){
7        gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
8
9        lVec = lightPos - gl_Vertex.xyz;
10        norm = gl_Normal;
11}
Note: See TracBrowser for help on using the repository browser.