no bgColor

This commit is contained in:
jrkb 2023-07-16 19:07:42 +02:00
parent 2080b0470c
commit 900fba4f12

View file

@ -34,5 +34,5 @@ void main()
float opacity = clamp(screenPxDistance + 0.5, 0.0, 1.0); float opacity = clamp(screenPxDistance + 0.5, 0.0, 1.0);
if (opacity < 0.5) if (opacity < 0.5)
discard; discard;
outputColor = mix(bgColor, fgColor, opacity); outputColor = mix(fgColor, fgColor, opacity);
} }