From ea7ba653c02b2692305c313f34a91210e36fb144 Mon Sep 17 00:00:00 2001 From: hzqst <113660872@qq.com> Date: Thu, 28 Sep 2023 15:24:29 +0800 Subject: [PATCH] Fix a shader error. --- Build/svencoop/renderer/shader/sprite_shader.fsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/svencoop/renderer/shader/sprite_shader.fsh b/Build/svencoop/renderer/shader/sprite_shader.fsh index b6360ac2..1187ac72 100644 --- a/Build/svencoop/renderer/shader/sprite_shader.fsh +++ b/Build/svencoop/renderer/shader/sprite_shader.fsh @@ -50,7 +50,7 @@ void main(void) vec4 lightmapColor = v_color; - lightmapColor = ProcessOtherColor(lightmapColor); + lightmapColor = ProcessOtherGammaColor(lightmapColor); lightmapColor.r = clamp(lightmapColor.r, 0.0, 1.0); lightmapColor.g = clamp(lightmapColor.g, 0.0, 1.0);