From e90a12418d09b6aa0da3fce8aeb7fed6813c38b1 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 13 Jun 2021 01:51:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=8D=E6=AC=A1=E4=BF=AE=E5=A4=8D3d=E5=9C=BA?= =?UTF-8?q?=E5=9C=B0=E6=B8=B2=E6=9F=93shader=E9=80=8F=E6=98=8E=E5=BA=A6?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/shaders/lighter.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/shaders/lighter.glsl b/parts/shaders/lighter.glsl index 73346bfa..689c4e94 100644 --- a/parts/shaders/lighter.glsl +++ b/parts/shaders/lighter.glsl @@ -4,6 +4,6 @@ vec4 effect(vec4 color,Image tex,vec2 tex_coords,vec2 scr_coords){ pow(texcolor.r+.26,.7023), pow(texcolor.g+.26,.7023), pow(texcolor.b+.26,.7023), - texcolor.a + texcolor.a*color.a ); } \ No newline at end of file