Class ScreenSpaceReflection
A volume component that holds settings for screen space reflection and ray traced reflections.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
[VolumeComponentMenu("Lighting/Screen Space Reflection")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Override-Screen-Space-Reflection.html")]
public class ScreenSpaceReflection : VolumeComponentWithQuality
필드
| 이름 | 설명 |
|---|---|
| accumulationFactor | Controls the amount of accumulation (0 no accumulation, 1 just accumulate) |
| bounceCount | Number of bounces for reflection rays. |
| depthBufferThickness | Controls the distance at which HDRP fades out SSR near the edge of the screen. |
| enabled | Enable Screen Space Reflections. |
| layerMask | Layer mask used to include the objects for screen space reflection. |
| mode | Controls which version of the effect should be used. |
| rayTracing | Enable ray traced reflections. |
| reflectSky | When enabled, SSR handles sky reflection. |
| sampleCount | Number of samples for reflections. |
| screenFadeDistance | Controls the typical thickness of objects the reflection rays may pass behind. |
| usedAlgorithm | Screen Space Reflections Algorithm used. |
프로퍼티
| 이름 | 설명 |
|---|---|
| clampValue | Clamps the exposed intensity. |
| denoise | Enable denoising on the ray traced reflections. |
| denoiserRadius | Controls the radius of reflection denoiser. |
| fullResolution | Defines if the effect should be evaluated at full resolution. |
| minSmoothness | Controls the smoothness value at which HDRP activates SSR and the smoothness-controlled fade out stops. |
| rayLength | Controls the length of reflection rays. |
| rayMaxIterations | Sets the maximum number of steps HDRP uses for raytracing. Affects both correctness and performance. |
| smoothnessFadeStart | Controls the smoothness value at which the smoothness-controlled fade out starts. The fade is in the range [Min Smoothness, Smoothness Fade Start] |
| upscaleRadius | Controls the size of the upscale radius. |