Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/trunk/shaders/cel.vert @ 4070

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

data: new shaders

File size: 210 bytes
RevLine 
[3542]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.