Vixen
02b45cc4
csharp
public readonly record struct IrradianceCapture

What a capture saw from where a probe stands.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Three things, because only the first is a picture. A cube of radiance says nothing about whether the probe is inside a wall — a probe buried in geometry captures the inside of that geometry and comes back plausibly dark rather than obviously wrong. Whoever rendered the cube has the depth and the normals to answer it, and this filler does not, so the answer travels with the capture.

The same split TracedIrradianceFiller makes between an IDistanceField and an IRadianceSource: what a probe sees and whether it should be believed are different questions with different owners.

Fields and properties (3)

  • public CubeImage Radiance

    The radiance arriving from every direction.

  • public float Validity

    How much of it to believe, from zero to one.

  • public float SunShadow

    How much of the directional light reaches, from zero to one.

Methods (1)

  • public IrradianceCapture(CubeImage Radiance, float Validity, float SunShadow)

    What a capture saw from where a probe stands.

Used by (8)

  • CapturedIrradianceFillerVixen.Rendering
  • CapturedIrradianceFillerTestsVixen.Rendering.Tests
  • ClosedVixen.Rendering.Tests
  • IIrradianceCaptureSourceVixen.Rendering
  • IrradianceCaptureDeviceTestsVixen.Graphics.Golden.Tests
  • IrradianceCubeCaptureVixen.Rendering
  • OpenSkyVixen.Rendering.Tests
  • RenderedIrradianceCapturesVixen.Rendering