Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/trunk/shaders/toon.vert @ 4062

Last change on this file since 4062 was 3463, checked in by bensch, 19 years ago

orxonox/data: added new Directory and some shaders

File size: 256 bytes
Line 
1// simple toon vertex shader
2// www.lighthouse3d.com
3
4
5varying vec3 normal, lightDir;
6
7void main()
8{       
9        lightDir = normalize(vec3(gl_LightSource[0].position));
10        normal = normalize(gl_NormalMatrix * gl_Normal);
11               
12        gl_Position = ftransform();
13}
Note: See TracBrowser for help on using the repository browser.