From e746cf7bb1a793ae0761b119177909c67859e5a2 Mon Sep 17 00:00:00 2001 From: MrZ_26 Date: Sun, 9 Aug 2020 14:32:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=BB=E4=BA=A1=E9=A2=84=E8=AD=A6=E5=9C=A8?= =?UTF-8?q?=E4=B8=A4=E4=B8=AA=E6=96=B9=E5=90=91=E7=9A=84=E5=AE=BD=E5=BA=A6?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/shader/warning.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zframework/shader/warning.glsl b/Zframework/shader/warning.glsl index 2a96757e..3b09273d 100644 --- a/Zframework/shader/warning.glsl +++ b/Zframework/shader/warning.glsl @@ -3,6 +3,6 @@ extern float level; vec4 effect(vec4 color,Image text,vec2 pos,vec2 scr_pos){ float dx=abs(scr_pos.x/w-0.5); float dy=abs(scr_pos.y/h-0.5); - float a=(max(dx,dy)*2.-.626)*level; + float a=(max(dx*2.6,dy*1.8)-.626)*level; return vec4(1.,0.,0.,a); } \ No newline at end of file