refmod_test

view sdr.vs.glsl @ 1:7e911c994ef2

should work on mac now
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 18 Feb 2016 23:21:49 +0200
parents
children
line source
1 varying vec3 pos, normal;
3 void main()
4 {
5 gl_Position = ftransform();
7 pos = (gl_ModelViewMatrix * gl_Vertex).xyz;
8 normal = (gl_NormalMatrix * gl_Normal).xyz;
9 }