dungeon_crawler

annotate prototype/sdr/mrt0.p.glsl @ 16:91180ee7b7d9

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 20 Aug 2012 03:40:51 +0300
parents
children
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 }