mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-02 20:10:32 +00:00
Merge pull request #1640 from Azaezel/dynamicCacheNuke
fallback - dynamic shadow cache nuking (static refresh delay preserved)
This commit is contained in:
commit
0e31368470
1 changed files with 2 additions and 0 deletions
|
|
@ -313,9 +313,11 @@ void LightShadowMap::render( RenderPassManager* renderPass,
|
|||
return;
|
||||
mStaticRefreshTimer->reset();
|
||||
|
||||
/* TODO: find out why this is causing issue with translucent objects
|
||||
if (_dynamic && (mDynamicRefreshTimer->getElapsedMs() < getLightInfo()->getDynamicRefreshFreq()))
|
||||
return;
|
||||
mDynamicRefreshTimer->reset();
|
||||
*/
|
||||
|
||||
mDebugTarget.setTexture( NULL );
|
||||
_render( renderPass, diffuseState );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue