LookingGlass/client/renderers/EGL/shader/damage.frag
Geoffrey McRae 91b0cba145 [client] egl: switch from mediump to highp
This fixes a rounding issue on certain hardware (NVidia) which actually
implement mediump as half precision (16-bit) float. It's safe to assume
`highp` is available as if the GPU does not support it, then the shader
compiler will try to find a lower precision that is supported by the GPU
2023-03-05 14:10:21 +11:00

10 lines
109 B
GLSL

#version 300 es
precision highp float;
out vec4 color;
void main()
{
color = vec4(1.0, 1.0, 0.0, 0.5);
}