Class VolumetricClouds
A volume component that holds settings for the ambient occlusion.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
[VolumeComponentMenuForRenderPipeline("Sky/Volumetric Clouds", new Type[]{typeof(HDRenderPipeline)})]
public sealed class VolumetricClouds : VolumeComponent, IVersionable<VolumetricClouds.Version>, ISerializationCallbackReceiver
Fields
altitudeDistortion
Controls the intensity of the wind-based altitude distortion of the clouds.
Declaration
[AdditionalProperty]
[Tooltip("Controls the intensity of the wind-based altitude distortion of the clouds.")]
public ClampedFloatParameter altitudeDistortion
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
altoStratusMap
Specifies the higher cloud layer distribution in the advanced mode.
Declaration
[Tooltip("Specifies the higher cloud layer distribution in the advanced mode.")]
public TextureParameter altoStratusMap
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.TextureParameter |
altoStratusMapMultiplier
Overrides the coverage of the higher cloud layer specified in the alto stratus map in the advanced mode.
Declaration
[Tooltip("Overrides the coverage of the higher cloud layer specified in the alto stratus map in the advanced mode.")]
public ClampedFloatParameter altoStratusMapMultiplier
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
ambientLightProbeDimmer
Controls the influence of the light probes on the cloud volume. A lower value will suppress the ambient light and produce darker clouds overall.
Declaration
[Tooltip("Controls the influence of the light probes on the cloud volume. A lower value will suppress the ambient light and produce darker clouds overall.")]
public ClampedFloatParameter ambientLightProbeDimmer
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
cloudControl
Specifies the cloud control Mode: Simple, Advanced or Manual.
Declaration
[Tooltip("Specifies the cloud control Mode: Simple, Advanced or Manual.")]
public VolumetricClouds.CloudControlParameter cloudControl
Field Value
Type | Description |
---|---|
VolumetricClouds.CloudControlParameter |
cloudLut
Specifies the lookup table for the clouds - Profile Coverage (R), Erosion (G), Ambient Occlusion (B).
Declaration
[Tooltip("Specifies the lookup table for the clouds - Profile Coverage (R), Erosion (G), Ambient Occlusion (B).")]
public TextureParameter cloudLut
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.TextureParameter |
cloudMap
Specifies the cloud map - Coverage (R), Rain (G), Type (B).
Declaration
[Tooltip("Specifies the cloud map - Coverage (R), Rain (G), Type (B).")]
public TextureParameter cloudMap
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.TextureParameter |
cloudMapResolution
Specifies the internal texture resolution used for the cloud map in the advanced mode. A lower value will lead to higher performance, but less precise cloud type transitions.
Declaration
[Tooltip("Specifies the internal texture resolution used for the cloud map in the advanced mode. A lower value will lead to higher performance, but less precise cloud type transitions.")]
public VolumetricClouds.CloudMapResolutionParameter cloudMapResolution
Field Value
Type | Description |
---|---|
VolumetricClouds.CloudMapResolutionParameter |
cloudMapSpeedMultiplier
Controls the multiplier to the speed of the cloud map.
Declaration
[Tooltip("Controls the multiplier to the speed of the cloud map.")]
[AdditionalProperty]
public ClampedFloatParameter cloudMapSpeedMultiplier
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
cloudOffset
Offset (x,y) of the cloud map.
Declaration
[Tooltip("Offset (x,y) of the cloud map.")]
public Vector2Parameter cloudOffset
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.Vector2Parameter |
cloudPreset
Specifies the weather preset in Simple mode.
Declaration
[Tooltip("Specifies the weather preset in Simple mode.")]
public VolumetricClouds.CloudPresetsParameter cloudPreset
Field Value
Type | Description |
---|---|
VolumetricClouds.CloudPresetsParameter |
CloudShadowResolutionCount
Declaration
public const int CloudShadowResolutionCount = 4
Field Value
Type | Description |
---|---|
Int32 |
cloudThickness
Controls the thickness of the volumetric clouds volume in meters.
Declaration
[Tooltip("Controls the thickness of the volumetric clouds volume in meters.")]
public MinFloatParameter cloudThickness
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.MinFloatParameter |
cloudTiling
Tiling (x,y) of the cloud map.
Declaration
[Tooltip("Tiling (x,y) of the cloud map.")]
public Vector2Parameter cloudTiling
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.Vector2Parameter |
cumulonimbusMap
Specifies the anvil shaped clouds distribution in the advanced mode.
Declaration
[Tooltip("Specifies the anvil shaped clouds distribution in the advanced mode.")]
public TextureParameter cumulonimbusMap
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.TextureParameter |
cumulonimbusMapMultiplier
Overrides the coverage of the anvil shaped clouds specified in the cumulonimbus map in the advanced mode.
Declaration
[Tooltip("Overrides the coverage of the anvil shaped clouds specified in the cumulonimbus map in the advanced mode.")]
public ClampedFloatParameter cumulonimbusMapMultiplier
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
cumulusMap
Specifies the lower cloud layer distribution in the advanced mode.
Declaration
[Tooltip("Specifies the lower cloud layer distribution in the advanced mode.")]
public TextureParameter cumulusMap
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.TextureParameter |
cumulusMapMultiplier
Overrides the coverage of the lower cloud layer specified in the cumulus map in the advanced mode.
Declaration
[Tooltip("Overrides the coverage of the lower cloud layer specified in the cumulus map in the advanced mode.")]
public ClampedFloatParameter cumulusMapMultiplier
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
customAmbientOcclusionCurve
Controls the ambient occlusion (Y axis) of the volumetric clouds as a function of the height (X Axis) inside the cloud volume.
Declaration
[Tooltip("Controls the ambient occlusion (Y axis) of the volumetric clouds as a function of the height (X Axis) inside the cloud volume.")]
public AnimationCurveParameter customAmbientOcclusionCurve
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.AnimationCurveParameter |
customDensityCurve
Controls the density (Y axis) of the volumetric clouds as a function of the height (X Axis) inside the cloud volume.
Declaration
[Tooltip("Controls the density (Y axis) of the volumetric clouds as a function of the height (X Axis) inside the cloud volume.")]
public AnimationCurveParameter customDensityCurve
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.AnimationCurveParameter |
customErosionCurve
Controls the erosion (Y axis) of the volumetric clouds as a function of the height (X Axis) inside the cloud volume.
Declaration
[Tooltip("Controls the erosion (Y axis) of the volumetric clouds as a function of the height (X Axis) inside the cloud volume.")]
public AnimationCurveParameter customErosionCurve
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.AnimationCurveParameter |
densityMultiplier
Controls the global density of the cloud volume.
Declaration
[Tooltip("Controls the global density of the cloud volume.")]
public ClampedFloatParameter densityMultiplier
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
earthCurvature
Controls the curvature of the cloud volume which defines the distance at which the clouds intersect with the horizon.
Declaration
[Tooltip("Controls the curvature of the cloud volume which defines the distance at which the clouds intersect with the horizon.")]
public ClampedFloatParameter earthCurvature
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
enable
Enable/Disable the volumetric clouds effect.
Declaration
[Tooltip("Enable/Disable the volumetric clouds effect.")]
public BoolParameter enable
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.BoolParameter |
erosionFactor
Controls the smaller noise on the edge of the clouds. A higher value will erode clouds more significantly.
Declaration
[Tooltip("Controls the smaller noise on the edge of the clouds. A higher value will erode clouds more significantly.")]
public ClampedFloatParameter erosionFactor
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
erosionNoiseType
Controls the type of noise used to generate the smaller noise passing through the cloud coverage.
Declaration
[Tooltip("Controls the type of noise used to generate the smaller noise passing through the cloud coverage.")]
[AdditionalProperty]
public VolumetricClouds.CloudErosionNoiseParameter erosionNoiseType
Field Value
Type | Description |
---|---|
VolumetricClouds.CloudErosionNoiseParameter |
erosionOcclusion
Controls how much Erosion Factor is taken into account when computing ambient occlusion. The Erosion Factor parameter is editable in the custom preset, Advanced and Manual Modes.
Declaration
[Tooltip("Controls how much Erosion Factor is taken into account when computing ambient occlusion. The Erosion Factor parameter is editable in the custom preset, Advanced and Manual Modes.")]
[AdditionalProperty]
public ClampedFloatParameter erosionOcclusion
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
erosionScale
Controls the size of the smaller noise passing through the cloud coverage.
Declaration
[Tooltip("Controls the size of the smaller noise passing through the cloud coverage.")]
public MinFloatParameter erosionScale
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.MinFloatParameter |
erosionSpeedMultiplier
Controls the multiplier to the speed of the erosion cloud shapes.
Declaration
[Tooltip("Controls the multiplier to the speed of the erosion cloud shapes.")]
[AdditionalProperty]
public ClampedFloatParameter erosionSpeedMultiplier
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
fadeInDistance
Controls the distance that it takes for the clouds to reach their complete density.
Declaration
[Tooltip("Controls the distance that it takes for the clouds to reach their complete density.")]
public MinFloatParameter fadeInDistance
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.MinFloatParameter |
fadeInMode
Controls the mode in which the clouds fade in when close to the camera's near plane.
Declaration
[Tooltip("Controls the mode in which the clouds fade in when close to the camera's near plane.")]
public VolumetricClouds.CloudFadeInModeParameter fadeInMode
Field Value
Type | Description |
---|---|
VolumetricClouds.CloudFadeInModeParameter |
fadeInStart
Controls the minimal distance at which clouds start appearing.
Declaration
[Tooltip("Controls the minimal distance at which clouds start appearing.")]
public MinFloatParameter fadeInStart
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.MinFloatParameter |
ghostingReduction
Enable/Disable the volumetric clouds ghosting reduction. When enabled, reduces significantly the ghosting of the volumetric clouds, but may introduce some flickering at lower temporal accumulation factors.
Declaration
[Tooltip("Enable/Disable the volumetric clouds ghosting reduction. When enabled, reduces significantly the ghosting of the volumetric clouds, but may introduce some flickering at lower temporal accumulation factors.")]
public BoolParameter ghostingReduction
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.BoolParameter |
globalWindSpeed
Sets the global horizontal wind speed in kilometers per hour. This value can be relative to the Global Wind Speed defined in the Visual Environment.
Declaration
[Tooltip("Sets the global horizontal wind speed in kilometers per hour.\nThis value can be relative to the Global Wind Speed defined in the Visual Environment.")]
public WindSpeedParameter globalWindSpeed
Field Value
Type | Description |
---|---|
WindSpeedParameter |
localClouds
When enabled, clouds are part of the scene and you can interact with them. This means for example, you can move around the clouds, clouds can appear between the Camera and other GameObjects, and the Camera's clipping planes affects the clouds. When disabled, the clouds are part of the skybox. This mean the clouds and their shadows appear relative to the Camera and always appear behind geometry.
Declaration
[Tooltip("When enabled, clouds are part of the scene and you can interact with them. This means for example, you can move around the clouds, clouds can appear between the Camera and other GameObjects, and the Camera's clipping planes affects the clouds. When disabled, the clouds are part of the skybox. This mean the clouds and their shadows appear relative to the Camera and always appear behind geometry.")]
public BoolParameter localClouds
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.BoolParameter |
lowestCloudAltitude
Controls the altitude of the bottom of the volumetric clouds volume in meters.
Declaration
[Tooltip("Controls the altitude of the bottom of the volumetric clouds volume in meters.")]
public MinFloatParameter lowestCloudAltitude
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.MinFloatParameter |
multiScattering
Controls the amount of multi-scattering inside the cloud.
Declaration
[Tooltip("Controls the amount of multi-scattering inside the cloud.")]
[AdditionalProperty]
public ClampedFloatParameter multiScattering
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
numLightSteps
Controls the number of steps when evaluating the clouds' lighting.
Declaration
[Tooltip("Controls the number of steps when evaluating the clouds' lighting.")]
public ClampedIntParameter numLightSteps
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedIntParameter |
numPrimarySteps
Controls the number of steps when evaluating the clouds' transmittance.
Declaration
[Tooltip("Controls the number of steps when evaluating the clouds' transmittance.")]
public ClampedIntParameter numPrimarySteps
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedIntParameter |
orientation
Controls the orientation of the wind relative to the X world vector. This value can be relative to the Global Wind Orientation defined in the Visual Environment.
Declaration
[Tooltip("Controls the orientation of the wind relative to the X world vector.\nThis value can be relative to the Global Wind Orientation defined in the Visual Environment.")]
public WindOrientationParameter orientation
Field Value
Type | Description |
---|---|
WindOrientationParameter |
powderEffectIntensity
Controls the amount of local scattering in the clouds. A value of 1 may provide a more powdery aspect.
Declaration
[Tooltip("Controls the amount of local scattering in the clouds. A value of 1 may provide a more powdery aspect.")]
[AdditionalProperty]
public ClampedFloatParameter powderEffectIntensity
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
rainMap
Specifies the rain distribution in the advanced mode.
Declaration
[Tooltip("Specifies the rain distribution in the advanced mode.")]
public TextureParameter rainMap
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.TextureParameter |
scatteringTint
Specifies the tint of the cloud scattering color.
Declaration
[Tooltip("Specifies the tint of the cloud scattering color.")]
public ColorParameter scatteringTint
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ColorParameter |
shadowDistance
Sets the size of the area covered by shadow around the camera.
Declaration
[Tooltip("Sets the size of the area covered by shadow around the camera.")]
[AdditionalProperty]
public MinFloatParameter shadowDistance
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.MinFloatParameter |
shadowOpacity
Controls the opacity of the volumetric clouds shadow.
Declaration
[Tooltip("Controls the opacity of the volumetric clouds shadow.")]
[AdditionalProperty]
public ClampedFloatParameter shadowOpacity
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
shadowOpacityFallback
Controls the shadow opacity when outside the area covered by the volumetric clouds shadow.
Declaration
[Tooltip("Controls the shadow opacity when outside the area covered by the volumetric clouds shadow.")]
[AdditionalProperty]
public ClampedFloatParameter shadowOpacityFallback
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
shadowPlaneHeightOffset
Controls the vertical offset applied to compute the volumetric clouds shadow in meters. To have accurate results, enter the average height at which the volumetric clouds shadow is received.
Declaration
[Tooltip("Controls the vertical offset applied to compute the volumetric clouds shadow in meters. To have accurate results, enter the average height at which the volumetric clouds shadow is received.")]
public FloatParameter shadowPlaneHeightOffset
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.FloatParameter |
shadowResolution
Enable/Disable the volumetric clouds shadow. This will override the cookie of your directional light and the cloud layer shadow (if active).
Declaration
[Tooltip("Specifies the resolution of the volumetric clouds shadow map.")]
public VolumetricClouds.CloudShadowResolutionParameter shadowResolution
Field Value
Type | Description |
---|---|
VolumetricClouds.CloudShadowResolutionParameter |
shadows
Enable/Disable the volumetric clouds shadow. This will override the cookie of your directional light and the cloud layer shadow (if active).
Declaration
[Tooltip("Enable/Disable the volumetric clouds shadow. This will override the cookie of your directional light and the cloud layer shadow (if active).")]
public BoolParameter shadows
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.BoolParameter |
shapeFactor
Controls the larger noise passing through the cloud coverage. A higher value will yield less cloud coverage and smaller clouds.
Declaration
[Tooltip("Controls the larger noise passing through the cloud coverage. A higher value will yield less cloud coverage and smaller clouds.")]
public ClampedFloatParameter shapeFactor
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
shapeOffset
Controls the world space offset applied when evaluating the larger noise passing through the cloud coverage.
Declaration
[Tooltip("Controls the world space offset applied when evaluating the larger noise passing through the cloud coverage.")]
public Vector3Parameter shapeOffset
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.Vector3Parameter |
shapeScale
Controls the size of the larger noise passing through the cloud coverage.
Declaration
[Tooltip("Controls the size of the larger noise passing through the cloud coverage.")]
public MinFloatParameter shapeScale
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.MinFloatParameter |
shapeSpeedMultiplier
Controls the multiplier to the speed of the larger cloud shapes.
Declaration
[Tooltip("Controls the multiplier to the speed of the larger cloud shapes.")]
[AdditionalProperty]
public ClampedFloatParameter shapeSpeedMultiplier
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
temporalAccumulationFactor
Temporal accumulation increases the visual quality of clouds by decreasing the noise. A higher value will give you better quality but can create ghosting.
Declaration
[Tooltip("Temporal accumulation increases the visual quality of clouds by decreasing the noise. A higher value will give you better quality but can create ghosting.")]
public ClampedFloatParameter temporalAccumulationFactor
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
verticalErosionWindSpeed
Controls the vertical wind speed of the erosion cloud shapes.
Declaration
[Tooltip("Controls the vertical wind speed of the erosion cloud shapes.")]
[AdditionalProperty]
public FloatParameter verticalErosionWindSpeed
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.FloatParameter |
verticalShapeWindSpeed
Controls the vertical wind speed of the larger cloud shapes.
Declaration
[Tooltip("Controls the vertical wind speed of the larger cloud shapes.")]
[AdditionalProperty]
public FloatParameter verticalShapeWindSpeed
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.FloatParameter |
Methods
OnAfterDeserialize()
Called after deserializing
Declaration
public void OnAfterDeserialize()
Implements
OnBeforeSerialize()
Called before serializing
Declaration
public void OnBeforeSerialize()
Implements
Explicit Interface Implementations
IVersionable<VolumetricClouds.Version>.version
Declaration
VolumetricClouds.Version IVersionable<VolumetricClouds.Version>.version { get; set; }
Returns
Type | Description |
---|---|
UnityEngine.Rendering.HighDefinition.VolumetricClouds.Version |