pxmlw6n2f/Gazebo_Distributed_TCP/media/materials/programs/projector.frag

6 lines
138 B
GLSL

uniform sampler2D projMap;
void main (void)
{
gl_FragColor = (gl_TexCoord[0].q > 0.0 ) ? 0 : texture2DProj(projMap, gl_TexCoord[0]);
}