mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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
72ceede272
commit
60d0e73190
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