Fix shader 2.0 (#19699)

This commit is contained in:
metalgearsloth
2023-09-01 00:31:26 +10:00
committed by GitHub
parent 41be670809
commit cf6b760910

View File

@@ -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);
}