mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 23:23:47 +00:00
registergloballights now taks a (by default on) cullSceneLights. off for reflection capture as that is presently acting up
This commit is contained in:
parent
0d915b31ae
commit
bd742bbf75
4 changed files with 15 additions and 14 deletions
|
|
@ -422,7 +422,7 @@ void CubeReflector::updateFace( const ReflectParams ¶ms, U32 faceidx )
|
|||
reflectRenderState.setDiffuseCameraTransform( params.query->headMatrix );
|
||||
|
||||
// render scene
|
||||
LIGHTMGR->registerGlobalLights( &reflectRenderState.getCullingFrustum(), false );
|
||||
LIGHTMGR->registerGlobalLights( &reflectRenderState.getCullingFrustum(), false, false );
|
||||
gClientSceneGraph->renderSceneNoLights( &reflectRenderState, mDesc->objectTypeMask );
|
||||
LIGHTMGR->unregisterAllLights();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue