dungeon_crawler

annotate 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
rev   line source
nuclear@16 1 uniform sampler2D tex_dif;
nuclear@16 2
nuclear@16 3 void main()
nuclear@16 4 {
nuclear@16 5 vec4 texel = texture2D(tex_dif, gl_TexCoord[0].st);
nuclear@16 6 gl_FragColor = texel;
nuclear@16 7 }