Files
Techmino/parts/shaders/grad1.glsl
MrZ_26 716a08b31d 着色器技术飞跃
框架跟进
2022-04-03 02:41:49 +08:00

11 lines
228 B
GLSL

uniform float phase;
vec4 effect(vec4 color,sampler2D tex,vec2 texCoord,vec2 scrCoord){
float x=scrCoord.x/love_ScreenSize.x;
return vec4(
.8-x*.6,
.3+.2*sin(phase),
.15+x*.7,
.4
);
}