dungeon_crawler

view prototype/sdr/mrt.v.glsl @ 27:cbf86e5198a9

fized the vbo state creep
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 25 Aug 2012 14:37:51 +0300
parents 5c41e6fcb300
children d0e93b4d9ec9
line source
1 varying vec3 pos, norm;
3 void main()
4 {
5 gl_Position = ftransform();
7 pos = (gl_ModelViewMatrix * gl_Vertex).xyz;
8 norm = gl_NormalMatrix * gl_Normal;
10 gl_TexCoord[0] = gl_MultiTexCoord0;
11 }