dungeon_crawler

view prototype/sdr/mrt.v.glsl @ 29:2fc004802739

lalala
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 26 Aug 2012 03:39:32 +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 }