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)

This commit is contained in:
AzaezelX 2019-04-16 11:47:21 -05:00
parent 028f97c5ec
commit d034ea2be8

View file

@ -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; //mEffectiveProbeCount = 0;
mMipCount = 0; //mMipCount = 0;
/*if (probePositionArray.size() != MAX_FORWARD_PROBES) /*if (probePositionArray.size() != MAX_FORWARD_PROBES)
{ {