Firstborn/Library/PackageCache/com.unity.postprocessing@3.2.2/Documentation~/Screen-Space-Reflections.md
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

2.3 KiB

Screen Space Reflections

The Screen Space Reflection effect creates subtle reflections that simulate wet floor surfaces or puddles. It reflects both static and dynamic GameObjects to create realistic reflections.

Screen Space Reflection replaces specular highlights on a surface, which makes it an ideal effect to limit the amount of specular light leaking.

Scene with Screen Space Reflections

Properties

Property Function
Preset Select the quality preset from the dropdown. Use Custom to fine tune the quality.
Maximum Iteration Count (Custom preset only) Set the maximum number of steps in the raymarching pass. A higher value creates more reflections.
Thickness (Custom preset only) Set the value of the ray thickness. A lower value detects smaller details but it is resource-intensive.
Resolution (Custom preset only) Select the size of the internal buffer. Select Downsample to maximize performance. Supersample is slower but produces higher quality results.
Maximum March Distance Set the maximum distance to draw reflections in the scene.
Distance Fade Set the value for the distance to fade reflections close to the near plane. This is useful to hide common artifacts.
Vignette Set the value to fade the reflections close to the screen edges.

Performance

The Custom preset is very resource-intensive and best for beauty shots. If you are developing for consoles, use Medium as the maximum, unless you have plenty of GPU time to spare. On lower resolutions you can boost the quality preset and get similar timings with a higher visual quality.

Known issues and limitations

Requirements

  • Compute shader
  • Motion vectors
  • Deferred rendering path
  • Shader Model 5.0