mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-26 23:37:14 +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.
19 lines
256 B
GLSL
19 lines
256 B
GLSL
#version 300 es
|
|
precision mediump float;
|
|
|
|
#include "color_blind.h"
|
|
|
|
in vec2 uv;
|
|
out vec4 color;
|
|
|
|
uniform sampler2D sampler1;
|
|
|
|
uniform int cbMode;
|
|
|
|
void main()
|
|
{
|
|
color = texture(sampler1, uv);
|
|
|
|
if (cbMode > 0)
|
|
color = cbTransform(color, cbMode);
|
|
}
|