mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-27 07:47:13 +00:00
3e021f3a6b
This is in preperation of cmake options to enable/disable various functionallity.
14 lines
212 B
GLSL
14 lines
212 B
GLSL
#version 300 es
|
|
|
|
in highp vec2 uv;
|
|
out highp vec4 color;
|
|
|
|
uniform sampler2D sampler1;
|
|
|
|
void main()
|
|
{
|
|
highp vec4 tmp = texture(sampler1, uv);
|
|
if (tmp.rgb == vec3(0.0, 0.0, 0.0))
|
|
discard;
|
|
color = tmp;
|
|
}
|