Merge branch 'alpha40DynShadowRefreshRedux' of https://github.com/Azaezel/Torque3D into Preview4_0

This commit is contained in:
Areloch 2019-09-29 06:51:04 -05:00
commit 6b6e5b6ca2
5 changed files with 7 additions and 8 deletions

View file

@ -316,11 +316,10 @@ void LightShadowMap::render(RenderPassManager* renderPass,
}
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 );