mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
543c97987b
We simply use precision mediump float; for everything. We don't actually need highp anyways, and we don't use it for stuff like CAS or FSR.
16 lines
219 B
GLSL
16 lines
219 B
GLSL
#version 300 es
|
|
precision mediump float;
|
|
|
|
in vec2 uv;
|
|
out vec4 color;
|
|
|
|
uniform sampler2D sampler1;
|
|
|
|
void main()
|
|
{
|
|
vec4 tmp = texture(sampler1, uv);
|
|
if (tmp.rgb == vec3(0.0, 0.0, 0.0))
|
|
discard;
|
|
color = tmp;
|
|
}
|