Ver Fonte

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

Azaezel há 9 anos atrás
pai
commit
b6ec969fb3
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      Engine/source/lighting/shadowMap/lightShadowMap.cpp

+ 2 - 0
Engine/source/lighting/shadowMap/lightShadowMap.cpp

@@ -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 );