dungeon_crawler

diff prototype/sdr/post.v.glsl @ 65:fc2b3d06d07c

made the deferred renderer draw into a texture, so that I can reuse the depth buffer for geometric post effects (particles), and implement other per-pixel post effects eventually
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 02 Oct 2012 13:42:18 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/prototype/sdr/post.v.glsl	Tue Oct 02 13:42:18 2012 +0300
     1.3 @@ -0,0 +1,5 @@
     1.4 +void main()
     1.5 +{
     1.6 +	gl_Position = gl_Vertex;
     1.7 +	gl_TexCoord[0] = gl_MultiTexCoord0;
     1.8 +}