mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-26 04:55:38 +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.
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);
|
|
}
|