mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
fix ignorelighting getting stomped into 0
This commit is contained in:
parent
dd72a627a9
commit
7f6be769c0
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue