Vixen
02b45cc4
csharp
public record class FogAsset

Distance and height fog, reconstructed from depth.

Read the guide page for this →

Fields and properties (14)

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

    The image it fogs.

  • public string Depth

    The depth it reconstructs world positions from.

  • public string View

    The view whose camera the reconstruction uses.

  • public string Output

    The name the result is published under.

  • public PixelFormat Format

    The format of the target it declares.

  • public int Mode

    0 linear, 1 exponential, 2 exponential squared.

  • public bool HeightFalloff

    Whether density falls off with height.

  • public bool SunScattering

    Whether the fog brightens towards the sun.

  • public Vector3 Colour

    What colour it is.

  • public float Density

    How thick it is.

  • public float Start

    Where linear fog begins, in metres.

  • public float End

    Where linear fog is total, in metres.

Used by (4)

  • PostEffectFactoryVixen.Rendering.PostFx
  • PostEffectTestsVixen.Rendering.PostFx.Tests
  • TypeRegistrationVixen.Rendering.PostFx
  • Vixen_Rendering_PostFx_FogAssetSerializerVixen.Rendering.PostFx