dungeon_crawler

diff prototype/sdr/mrt.p.glsl @ 17:d98240a13793

lalala
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 20 Aug 2012 06:11:58 +0300
parents prototype/sdr/mrt0.p.glsl@91180ee7b7d9
children 8a0ae6b4aa9b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/prototype/sdr/mrt.p.glsl	Mon Aug 20 06:11:58 2012 +0300
     1.3 @@ -0,0 +1,7 @@
     1.4 +uniform sampler2D tex_dif;
     1.5 +
     1.6 +void main()
     1.7 +{
     1.8 +	vec4 texel = texture2D(tex_dif, gl_TexCoord[0].st);
     1.9 +	gl_FragColor = texel;
    1.10 +}