mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Ongoing fiddling with correcting the forward render behavior.
This commit is contained in:
parent
6db975e81c
commit
65fb8bc5f3
3 changed files with 14 additions and 14 deletions
|
|
@ -673,7 +673,7 @@ void RenderProbeMgr::_update4ProbeConsts(const SceneData &sgData,
|
|||
continue;
|
||||
}
|
||||
}*/
|
||||
if(!curEntry.mIsSkylight)
|
||||
if (!curEntry.mIsSkylight)
|
||||
{
|
||||
/*probePositions[effectiveProbeCount] = curEntry.getPosition();
|
||||
probeRefPositions[effectiveProbeCount] = curEntry.mProbeRefOffset;
|
||||
|
|
@ -707,8 +707,7 @@ void RenderProbeMgr::_update4ProbeConsts(const SceneData &sgData,
|
|||
}
|
||||
|
||||
//check for skylight action
|
||||
if (probeShaderConsts->mHasSkylight->isValid()
|
||||
&& probeShaderConsts->mSkylightIrradMap->isValid()
|
||||
if (probeShaderConsts->mSkylightIrradMap->isValid()
|
||||
&& probeShaderConsts->mSkylightSpecularMap->isValid())
|
||||
{
|
||||
//Array rendering
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue