Fixed probe cubemap reindexing assignment

Fixed BRDF texture binding in forward pass so it doesn't screw with the probes or regular lighting results during bakes
Fixed early-out check on probe manager so probes can be rendered during reflect pass as well.
This commit is contained in:
Areloch 2019-07-10 23:41:55 -05:00
parent f8750dd8ed
commit 98f50a4453
2 changed files with 7 additions and 5 deletions

View file

@ -817,7 +817,7 @@ void ReflectionProbe::bake()
PROBEMGR->bakeProbe(this);
setMaskBits(StaticDataMask);
setMaskBits(-1);
}
//-----------------------------------------------------------------------------