feat(vfx): bind effects to live animated poses
This commit is contained in:
parent
96ddfdf175
commit
542dcfc384
41 changed files with 3246 additions and 741 deletions
|
|
@ -55,6 +55,20 @@ public sealed class LightSource
|
|||
public bool IsLit = true; // SetLightHook latch
|
||||
public bool IsDynamic; // #143: true = D3D hardware path (1/d att, range×1.5);
|
||||
// false = static dat-baked bake (1/d³, range×1.3)
|
||||
/// <summary>
|
||||
/// True when this light belongs to a live physics object whose root can
|
||||
/// move. DAT-static lights keep their hydration-time world frame and are
|
||||
/// deliberately excluded from the per-frame pose refresh.
|
||||
/// </summary>
|
||||
public bool TracksOwnerPose;
|
||||
|
||||
/// <summary>
|
||||
/// Setup-local light frame retained from <c>LIGHTINFO::view_space_location</c>.
|
||||
/// Object-borne lights compose it with their owner's current root each
|
||||
/// frame, matching <c>CPartArray::SetFrame</c> (<c>0x00519310</c>) calling
|
||||
/// <c>LIGHTLIST::set_frame</c> (<c>0x00517C60</c>).
|
||||
/// </summary>
|
||||
public Matrix4x4 LocalPose = Matrix4x4.Identity;
|
||||
|
||||
// Cached each frame by LightManager.
|
||||
public float DistSq;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue