Vixen
02b45cc4
csharp
public readonly record struct ShadowTile

One tile of the punctual shadow atlas: what it renders, and where it lives in it.

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

Fields and properties (5)

  • public int Light

    Which light in the renderer's list.

  • public CubeFace? Face

    Which cube face, or for a spot light's single tile.

  • public Matrix4x4 ViewProjection

    World to this tile's clip space.

  • public Vector2 Scale

    How much of the atlas the tile is, as a fraction.

  • public Vector2 Offset

    Where it starts in the atlas, as a fraction.

Methods (1)

  • public ShadowTile(int Light, CubeFace? Face, Matrix4x4 ViewProjection, Vector2 Scale, Vector2 Offset)

    One tile of the punctual shadow atlas: what it renders, and where it lives in it.

Used by (2)

  • PunctualShadowRendererVixen.Rendering
  • PunctualShadowTestsVixen.Rendering.Tests