Merge pull request #71 from Azaezel/alpha40DynShadowRefreshRedux

re-add dynamic shadow refresh rate
This commit is contained in:
Areloch 2019-09-29 07:23:37 -05:00 committed by GitHub
commit 7afb62b7d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 );