Sfoglia il codice sorgente

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 9 anni fa
parent
commit
b6ec969fb3
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 );