public record class FogAssetDistance and height fog, reconstructed from depth.
Fields and properties (23)
public string NameThe node's name, for debug groups and for a human reading the file.
public bool EnabledWhether the node runs.
public string SourceThe image it fogs.
public string DepthThe depth it reconstructs world positions from.
public string ViewThe view whose camera the reconstruction uses.
public string OutputThe name the result is published under.
public PixelFormat FormatThe format of the target it declares.
public int Mode0 linear, 1 exponential, 2 exponential squared.
public bool HeightFalloffWhether density falls off with height.
public bool SunScatteringWhether the fog brightens towards the sun.
public Vector3 ColourWhat it looks like away from the sun, as a radiance in cd/m².
public float DensityHow thick it is.
public float StartWhere linear fog begins, in metres.
public float EndWhere linear fog is total, in metres.
public float HeightThe altitude the authored density holds at, in world units.
public float HeightFalloffRateHow fast density thins above Height, per world unit.
public Vector3 SunDirectionWhich way the light travels.
public Vector3 SunColourWhat it looks like straight down-sun, as a radiance in cd/m² — Colour plus the sun's illuminance in lux.
public float SunAnisotropyHenyey–Greenstein anisotropy. Air is forward-scattering, around 0.7.
public string VolumeThe marched volume a !VolumetricFog node filled, or empty for the falloff alone.
public float VolumeNearThe volume's near plane, far plane and slice count — the dispatch's own three.
public float VolumeFarpublic int VolumeSlices
Used by (6)
- PostEffectFactoryVixen.Rendering.PostFx
- PostEffectTestsVixen.Rendering.PostFx.Tests
- StandardFrameVixen.Rendering.PostFx
- StandardFrameTestsVixen.Rendering.PostFx.Tests
- TypeRegistrationVixen.Rendering.PostFx
- Vixen_Rendering_PostFx_FogAssetSerializerVixen.Rendering.PostFx