source:
data/trunk/shaders/cel.vert
@
4070
Last change on this file since 4070 was 3542, checked in by bensch, 19 years ago | |
---|---|
File size: 210 bytes |
Line | |
---|---|
1 | uniform vec3 lightPos; |
2 | |
3 | varying vec3 lVec; |
4 | varying vec3 norm; |
5 | |
6 | void 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.