From e0846f6de3c40c571f2464cfa95aebd6e10d1c1a Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Fri, 13 Nov 2020 10:55:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83rainbow2=E8=83=8C=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/shader/rgb2.glsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Zframework/shader/rgb2.glsl b/Zframework/shader/rgb2.glsl index 5d3db8ed..d99ba67e 100644 --- a/Zframework/shader/rgb2.glsl +++ b/Zframework/shader/rgb2.glsl @@ -3,9 +3,9 @@ vec4 effect(vec4 color,Image text,vec2 pos,vec2 scr_pos){ float x=scr_pos.x/w; float y=scr_pos.y/h; return vec4( - .4-y*.3-.1*sin(t/6.26), - .2+.1*sin(t), - abs(.7-x*1.2+y*.5*sin(t/16.)), + .8-y*.8-.1*sin(t/6.26), + .4+.1*sin(t/4.)*(y+2.)/(y+5.), + abs(.7-x*1.4+y*.5*sin(t/16.)), 1. ); } \ No newline at end of file