Vixen
02b45cc4
csharp
public readonly record struct IrradianceRefinementBand

One band of a refinement policy: how near counts, and how fine to go there.

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

Remarks

A margin rather than a distance from the camera, because what wants resolution is the neighbourhood of geometry — a wall leaks at its own surface whether the camera is a metre away or fifty. Camera distance is a budget question and belongs to whoever picks the bands, not to the bands themselves.

Fields and properties (2)

  • public float Margin

    How far outside a renderer's bounds this band reaches, in world units.

  • public int Size

    The brick size to refine to inside it, in finest cells.

Methods (1)

  • public IrradianceRefinementBand(float Margin, int Size)

    One band of a refinement policy: how near counts, and how fine to go there.

Used by (1)

  • IrradianceRefinementPolicyVixen.Rendering.IrradianceFields