mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-16 05:03:47 +00:00
Enabled probe viz item for live updates of probes when working with them(auto-baking while on)
Updated debug forward mat viz to work with probe visualization More correct premult math Updated probe viz menu behavior to properly toggle and mark which is active
This commit is contained in:
parent
06b88a6f68
commit
a42ab1239b
6 changed files with 313 additions and 13 deletions
|
|
@ -200,6 +200,12 @@ void ReflectionProbe::inspectPostApply()
|
|||
|
||||
mDirty = true;
|
||||
|
||||
bool liveUpdates = Con::getBoolVariable("$Probes::liveUpdates", false);
|
||||
if (liveUpdates)
|
||||
{
|
||||
bake();
|
||||
}
|
||||
|
||||
// Flag the network mask to send the updates
|
||||
// to the client object
|
||||
setMaskBits(-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue