csharp
public readonly record struct IrradianceFillSettingsHow many rays a probe casts, how far, and how fast it is allowed to change its mind.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (5)
public int RayCountHow many directions each probe looks in.
public float MaxDistanceHow far a ray looks before deciding it hit nothing.
public float HysteresisHow much of the previous answer survives a fill, from zero to one.
public Vector3? SunDirectionWhich way the directional light is, or nothing for a scene without one.
public float SunSoftnessHow sharp the sun's shadow is. Larger is sharper.
Methods (2)
public IrradianceFillSettings()The defaults: sixty-four rays, a hundred units, no hysteresis, no sun.
public void Validate()Throws if these settings cannot fill anything.
Used by (4)
- ArenaIlluminationThirdPersonShooter
- IrradianceConvergenceTestsVixen.Rendering.IrradianceFields.Tests
- TracedIrradianceFillerVixen.Rendering.IrradianceFields
- TracedIrradianceFillerTestsVixen.Rendering.IrradianceFields.Tests