mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
fix ignorelighting getting stomped into 0
This commit is contained in:
parent
dd72a627a9
commit
7f6be769c0
|
|
@ -465,7 +465,7 @@ vec4 computeForwardProbes(Surface surface,
|
|||
{
|
||||
if (getFlag(surface.matFlag, 2))
|
||||
{
|
||||
return vec4(0,0,0,0);
|
||||
return vec4(0,0,0,surface.baseColor.a);
|
||||
}
|
||||
|
||||
int i = 0;
|
||||
|
|
|
|||
|
|
@ -467,7 +467,7 @@ float4 computeForwardProbes(Surface surface,
|
|||
{
|
||||
if (getFlag(surface.matFlag, 2))
|
||||
{
|
||||
return float4(0,0,0,0);
|
||||
return float4(0,0,0,surface.baseColor.a);
|
||||
}
|
||||
|
||||
int i = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue