Files
r_e_c_u_r/Shaders/0-input/rgb_palette.frag

19 lines
328 B
GLSL

//0-input
//written by Tim Caldwell
#ifdef GL_ES
precision mediump float;
#endif
uniform vec2 u_resolution;
uniform float u_time;
varying vec2 v_texcoord;
uniform sampler2D u_tex0;
uniform float u_x0;
uniform float u_x1;
uniform float u_x2;
uniform float u_x3;
void main() {
gl_FragColor = vec4(u_x0, u_x1, u_x2, u_x3);
}