Struct LocalVolumetricFogArtistParameters
Artist-friendly Local Volumetric Fog parametrization.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
public struct LocalVolumetricFogArtistParameters
Constructors
Name | Description |
---|---|
LocalVolumetricFogArtistParameters(Color, float, float) | Constructor. |
Fields
Name | Description |
---|---|
albedo | Single scattering albedo: [0, 1]. Alpha is ignored. |
anisotropy | Anisotropy of the phase function: [-1, 1]. Positive values result in forward scattering, and negative values - in backward scattering. |
blendingMode | Specifies how the fog in the volume will interact with the fog. |
distanceFadeEnd | Distance at which density fading ends. |
distanceFadeStart | Distance at which density fading starts. |
falloffMode | When Blend Distance is above 0, controls which kind of falloff is applied to the transition area. |
invertFade | Inverts the fade gradient. |
maskMode | The mask mode to use when writing this volume in the volumetric fog. |
materialMask | The material used to mask the local volumetric fog when the mask mode is set to Material. The material needs to use the "Fog Volume" material type in Shader Graph. |
meanFreePath | Mean free path, in meters: [1, inf]. |
negativeFade | Edge fade factor along the negative X, Y and Z axes. |
positiveFade | Edge fade factor along the positive X, Y and Z axes. |
priority | Rendering priority of the volume, higher priority will be rendered first. |
size | Dimensions of the volume. |
textureOffset | Allows translation of the tiling density texture. |
textureScrollingSpeed | Scrolling speed of the density texture. |
textureTiling | Tiling rate of the density texture. |
volumeMask | Texture containing density values. |
Properties
Name | Description |
---|---|
advancedFade | Obsolete, do not use. |