Explorar el Código

no point in resetting effectiveprobecount or mipcount in the compute4probes method. the latter is going to remain a fixed global var to support the cubemap arrays while the latter isn't even used by forward lit (though it likely should be, rather than trying to cook up 2 bound vectors)

AzaezelX hace 6 años
padre
commit
d034ea2be8
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Engine/source/renderInstance/renderProbeMgr.cpp

+ 2 - 2
Engine/source/renderInstance/renderProbeMgr.cpp

@@ -646,8 +646,8 @@ void RenderProbeMgr::_update4ProbeConsts(const SceneData &sgData,
       //Array rendering
       U32 probeCount = ProbeRenderInst::all.size();
 
-      mEffectiveProbeCount = 0;
-      mMipCount = 0;
+      //mEffectiveProbeCount = 0;
+      //mMipCount = 0;
 
       /*if (probePositionArray.size() != MAX_FORWARD_PROBES)
       {