dungeon_crawler

view prototype/sdr/mrt.v.glsl @ 31:ddb68dc4ba07

OBJ hack
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 27 Aug 2012 04:14:04 +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 }