Browse Source

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 6 years ago
parent
commit
d034ea2be8
1 changed files with 2 additions and 2 deletions
  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
       //Array rendering
       U32 probeCount = ProbeRenderInst::all.size();
       U32 probeCount = ProbeRenderInst::all.size();
 
 
-      mEffectiveProbeCount = 0;
-      mMipCount = 0;
+      //mEffectiveProbeCount = 0;
+      //mMipCount = 0;
 
 
       /*if (probePositionArray.size() != MAX_FORWARD_PROBES)
       /*if (probePositionArray.size() != MAX_FORWARD_PROBES)
       {
       {