invisible

annotate data/shaders/invisible.f.glsl @ 25:96b022f1210e

'w' to switch to wireframe
author Eleni Maria Stea <eleni@mutantstargoat.com>
date Sun, 17 Nov 2013 12:46:45 +0200
parents b50ad2711f5f
children
rev   line source
eleni@23 1 uniform sampler2D tex;
eleni@24 2 varying float mask;
eleni@23 3
eleni@23 4 void main()
eleni@23 5 {
eleni@23 6 gl_FragColor = texture2D(tex, gl_TexCoord[0].xy);
eleni@23 7 }