mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 13:51:04 +00:00
2f21fccee9
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31512 e7fa87d3-cd2b-0410-9028-fcbf551c1848
15 lines
206 B
GLSL
15 lines
206 B
GLSL
#version 110
|
|
|
|
uniform sampler2D tex;
|
|
varying vec2 coord;
|
|
|
|
void main (void)
|
|
{
|
|
vec4 v = texture2D(tex, coord);
|
|
|
|
if (v == vec4(0.1,0.2,0.3,0.4))
|
|
discard;
|
|
|
|
gl_FragColor = v;
|
|
}
|