Files
Techmino/parts/shaders/grad2.glsl
2021-02-09 17:44:21 +08:00

10 lines
172 B
GLSL

extern float t,h;
vec4 effect(vec4 color,Image tex,vec2 tex_coords,vec2 scr_coords){
float y=scr_coords.y/h;
return vec4(
.8-y*.6,
.2+y*.4,
.3+.1*sin(t),
1.
);
}