Vixen
02b45cc4
csharp
public record class SkyAsset

The background, drawn as the environment the scene is lit by.

Read the guide page for this →

Remarks

⚠ output names a target the document already declared, normally the frame's own HDR colour, and the pass that draws the scene into it afterwards must load: Load rather than clear. That is what puts the sky behind the level; a node that declared a target of its own would need a composite to get it into the frame.

view is not optional decoration. Without it the cube is sampled along rays built from a camera at the origin looking down −Z — a plausible picture of the wrong direction.

Fields and properties (7)

  • 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 Output

    The colour target it fills — an existing one, so the scene draws over it.

  • public string View

    The view whose rays the cube is sampled along.

  • public bool Soften

    Whether to sample the blurred end of the prefiltered chain: haze rather than sun.

  • public float Intensity

    A multiplier on the sampled luminance. One means the sky you see lights the scene.

  • public PixelFormat Format

    The format of the target, for a document that declared none under that name.

Used by (3)

  • PostEffectFactoryVixen.Rendering.PostFx
  • TypeRegistrationVixen.Rendering.PostFx
  • Vixen_Rendering_PostFx_SkyAssetSerializerVixen.Rendering.PostFx