put probe.boxmax/min code back as it was prior to merge. still having that /4 oddness.

This commit is contained in:
Azaezel 2019-03-20 07:38:14 -05:00
parent 306bfb4718
commit df6b7f3351
2 changed files with 4 additions and 7 deletions

View file

@ -346,7 +346,7 @@ void RenderProbeMgr::_setupStaticParameters()
probeWorldToObjData[mEffectiveProbeCount] = curEntry.getTransform();
Point3F bbMin = refPos - curEntry.mProbeRefScale/2;
Point3F bbMax = curEntry.mExtents/4;
Point3F bbMax = refPos + curEntry.mProbeRefScale/2;
probeBBMinData[mEffectiveProbeCount] = Point4F(bbMin.x, bbMin.y, bbMin.z, 0);
probeBBMaxData[mEffectiveProbeCount] = Point4F(bbMax.x, bbMax.y, bbMax.z, 0);