mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
fix singular pobe capture
This commit is contained in:
parent
674a7a0212
commit
62e23d10b4
1 changed files with 2 additions and 0 deletions
|
|
@ -797,7 +797,9 @@ void ReflectionProbe::bake()
|
||||||
if (mReflectionModeType != BakedCubemap)
|
if (mReflectionModeType != BakedCubemap)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
PROBEMGR->preBake();
|
||||||
PROBEMGR->bakeProbe(this);
|
PROBEMGR->bakeProbe(this);
|
||||||
|
PROBEMGR->postBake();
|
||||||
|
|
||||||
setMaskBits(-1);
|
setMaskBits(-1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue