dungeon_crawler

view prototype/sdr/mrt.v.glsl @ 20:48cfd351a9be

mrt going on nicely
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 21 Aug 2012 04:57:33 +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 }