mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 21:47:23 +00:00
20 lines
268 B
GLSL
20 lines
268 B
GLSL
#version 300 es
|
|
|
|
#include "color_blind.h"
|
|
|
|
in highp vec2 uv;
|
|
out highp vec4 color;
|
|
|
|
uniform sampler2D sampler1;
|
|
|
|
uniform lowp int rotate;
|
|
uniform int cbMode;
|
|
|
|
void main()
|
|
{
|
|
color = texture(sampler1, uv);
|
|
|
|
if (cbMode > 0)
|
|
color = cbTransform(color, cbMode);
|
|
}
|