Class ScreenSpaceRefraction
A volume component that holds settings for the Screen Space Refraction effect.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
[VolumeComponentMenuForRenderPipeline("Lighting/Screen Space Refraction", new Type[]{typeof(HDRenderPipeline)})]
public class ScreenSpaceRefraction : VolumeComponent
Fields
screenFadeDistance
Controls the distance at which HDRP fades out Screen Space Refraction near the edge of the screen. A value near 0 indicates a small fade distance at the edges, while increasing the value towards one will start the fade closer to the center of the screen.
Declaration
public ClampedFloatParameter screenFadeDistance
Field Value
Type | Description |
---|---|
ClampedFloatParameter |