mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:03:40 +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.
20 lines
256 B
GLSL
20 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);
|
|
}
|