Vixen
02b45cc4
csharp
public record class PunctualShadowAsset

Spot and point light shadows in one atlas.

Read the guide page for this →

Fields and properties (9)

  • public string Name

    The node's name, for debug groups and for a human reading the file.

  • public bool Enabled

    Whether the node runs.

  • public string Stage

    The name of the stage that draws depth-only casters.

  • public string Atlas

    The name of the depth atlas to render into.

  • public int Resolution

    One tile's side in texels.

  • public int TilesPerSide

    How many tiles the atlas is across.

  • public string[] Passes

    Which passes' compose slots the atlas is published under.

  • public float ConstantBias

    How far the depth comparison is nudged, in depth units.

  • public float SlopeBias

    How much more of that a surface gets as it turns away from the light.

Used by (4)

  • CompositorBuilderVixen.Rendering
  • TypeRegistrationVixen.Rendering
  • Vixen_Rendering_Compositor_PunctualShadowAssetSerializerVixen.Rendering
  • PunctualShadowNodeVixen.Editor.AssetEditors