dungeon_crawler

view prototype/sdr/mrt.v.glsl @ 72:a27528035e20

- re-organized the renderer classes a bit wrt final render-target - implemented identity color-grading palette for now - broke particle systems.... - removed multipass renderer
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 19 Oct 2012 02:45:57 +0300
parents 48cfd351a9be
children
line source
1 attribute vec3 attr_tangent;
3 varying vec3 pos, norm, tang;
5 void main()
6 {
7 gl_Position = ftransform();
9 pos = (gl_ModelViewMatrix * gl_Vertex).xyz;
10 norm = gl_NormalMatrix * gl_Normal;
11 tang = gl_NormalMatrix * attr_tangent;
13 gl_TexCoord[0] = gl_MultiTexCoord0;
14 }