mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Corrected some missed bits in the template, and a check in the forward-lit probes
This commit is contained in:
parent
57f8549abe
commit
aad37bc0f5
3 changed files with 46 additions and 27 deletions
|
|
@ -345,6 +345,9 @@ void ProbeManager::_update4ProbeConsts( const SceneData &sgData,
|
|||
if (!probe)
|
||||
continue;
|
||||
|
||||
if (!probe->mIsEnabled)
|
||||
continue;
|
||||
|
||||
// The light positions and spot directions are
|
||||
// in SoA order to make optimal use of the GPU.
|
||||
const Point3F &probePos = probe->getPosition();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue