public record class VolumetricFogAssetThe three compute dispatches that fill a froxel fog volume.
Remarks
Paired with FogAsset exactly as GlobalDistanceField is paired with DistanceFieldAoAsset: this fills a volume and names it, and the fog node reads the name. A document with one and not the other is not broken — the composite falls back to the analytic falloff, and the dispatches nothing reads are culled by the graph.
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 ViewThe view whose camera the froxels are laid out in front of.
public string MediaThe names the three volumes are published under.
public string Scatteredpublic string Outputpublic string ShadowAtlasThe cascade atlas the froxels are shadowed against.
public bool ShadowsWhether the froxels are shadowed against those cascades at all.
public string ScenePassWhose published cascades and biases the shadow taps use.
public int WidthHow many froxels across, down and deep.
public int Heightpublic int Slicespublic float NearWhere the grid begins and ends, in metres of view depth.
public float Farpublic float DensityHow much light a metre of the medium takes out of a ray.
public Vector3 ScatteringAlbedoWhat fraction of that is scattered rather than absorbed, per channel.
public bool HeightFalloffWhether density thins with altitude.
public float FogHeightThe altitude the authored density holds at, and how fast it thins above.
public float HeightFalloffRatepublic Vector3 SunDirectionWhich way the light travels, and what it carries.
public Vector3 SunColourpublic float PhaseGHenyey–Greenstein anisotropy.
public Vector3 AmbientColourWhat arrives from the whole sky. ⚠ Without it a back-lit valley is black.
Used by (5)
- PostEffectFactoryVixen.Rendering.PostFx
- StandardFrameVixen.Rendering.PostFx
- StandardFrameTestsVixen.Rendering.PostFx.Tests
- TypeRegistrationVixen.Rendering.PostFx
- Vixen_Rendering_PostFx_VolumetricFogAssetSerializerVixen.Rendering.PostFx