mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +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;
|
return;
|
||||||
mStaticRefreshTimer->reset();
|
mStaticRefreshTimer->reset();
|
||||||
|
|
||||||
|
/* TODO: find out why this is causing issue with translucent objects
|
||||||
if (_dynamic && (mDynamicRefreshTimer->getElapsedMs() < getLightInfo()->getDynamicRefreshFreq()))
|
if (_dynamic && (mDynamicRefreshTimer->getElapsedMs() < getLightInfo()->getDynamicRefreshFreq()))
|
||||||
return;
|
return;
|
||||||
mDynamicRefreshTimer->reset();
|
mDynamicRefreshTimer->reset();
|
||||||
|
*/
|
||||||
|
|
||||||
mDebugTarget.setTexture( NULL );
|
mDebugTarget.setTexture( NULL );
|
||||||
_render( renderPass, diffuseState );
|
_render( renderPass, diffuseState );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue