mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-19 01:51:23 +00:00

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.
15 lines
219 B
GLSL
15 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;
|
|
}
|