Merge pull request #1626 from Azaezel/alpha41/opacityIgnorance

fix ignorelighting getting stomped into 0
This commit is contained in:
Brian Roberts 2025-12-18 18:56:49 -06:00 committed by GitHub
commit 4cf8b943a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -465,7 +465,7 @@ vec4 computeForwardProbes(Surface surface,
{ {
if (getFlag(surface.matFlag, 2)) if (getFlag(surface.matFlag, 2))
{ {
return vec4(0,0,0,0); return vec4(0,0,0,surface.baseColor.a);
} }
int i = 0; int i = 0;

View file

@ -467,7 +467,7 @@ float4 computeForwardProbes(Surface surface,
{ {
if (getFlag(surface.matFlag, 2)) if (getFlag(surface.matFlag, 2))
{ {
return float4(0,0,0,0); return float4(0,0,0,surface.baseColor.a);
} }
int i = 0; int i = 0;