Removed old code that set the BRDF texture and caused a texture profile conflict with the probe array post effect, leading to a crash.

Renamed hasSkylight to mHasSkylight to avoid var ambiguity.
This commit is contained in:
Areloch 2019-05-26 03:13:16 -05:00
parent 0887683925
commit 8196ad9d32
2 changed files with 7 additions and 19 deletions

View file

@ -196,7 +196,7 @@ class RenderProbeMgr : public RenderBinManager
Vector<GFXCubemapHandle> cubeMaps;
Vector<GFXCubemapHandle> irradMaps;
bool hasSkylight;
bool mHasSkylight;
GFXCubemapHandle skylightIrradMap;
GFXCubemapHandle skylightPrefilterMap;
Point4F skylightPos;
@ -312,4 +312,4 @@ RenderProbeMgr* RenderProbeMgr::getProbeManager()
#define PROBEMGR RenderProbeMgr::getProbeManager()
#endif // RENDER_PROBE_MGR_H
#endif // RENDER_PROBE_MGR_H