dungeon_crawler

view prototype/sdr/deferred_omni.v.glsl @ 30:938a6a155c94

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 27 Aug 2012 04:03:22 +0300
parents
children 85734f319626
line source
1 varying vec3 ltpos;
3 void main()
4 {
5 gl_Position = ftransform();
7 ltpos = (gl_ModelViewMatrix * vec4(0.0, 0.0, 0.0, 1.0)).xyz;
8 }