Vixen
02b45cc4
csharp
public readonly record struct IrradianceFillSettings

How 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 RayCount

    How many directions each probe looks in.

  • public float MaxDistance

    How far a ray looks before deciding it hit nothing.

  • public float Hysteresis

    How much of the previous answer survives a fill, from zero to one.

  • public Vector3? SunDirection

    Which way the directional light is, or nothing for a scene without one.

  • public float SunSoftness

    How 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