mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
worst case scenario fallback for if we can't track down why vector lighting seems determined to shift positions periodically based upon some influence by the dynamicrefreshfrequency rate
This commit is contained in:
parent
5122360552
commit
b6ec969fb3
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