mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Merge pull request #1626 from Azaezel/alpha41/opacityIgnorance
fix ignorelighting getting stomped into 0
This commit is contained in:
commit
4cf8b943a6
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