no bgColor
This commit is contained in:
parent
2080b0470c
commit
900fba4f12
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue