From cf6b760910c118e604c9d09d59d90ae095060890 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Fri, 1 Sep 2023 00:31:26 +1000 Subject: [PATCH] Fix shader 2.0 (#19699) --- Resources/Textures/Shaders/hcut.swsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Textures/Shaders/hcut.swsl b/Resources/Textures/Shaders/hcut.swsl index 972d4fdf8c..4f8bfd9573 100644 --- a/Resources/Textures/Shaders/hcut.swsl +++ b/Resources/Textures/Shaders/hcut.swsl @@ -7,7 +7,7 @@ const bool below = true; void fragment() { highp vec4 tex = zTexture(UV); - highp float modifier = (UV.y > c ^^ !below) ? 1.0f : alphaModifier; + highp float modifier = (UV.y > c ^^ !below) ? 1.0 : alphaModifier; COLOR = vec4(tex.x, tex.y, tex.z, tex.w * modifier); }