Skip to content

Debug Pass

Vladislav Kantaev edited this page Oct 26, 2023 · 3 revisions

Setup

  • In the project window, right click and select Create/Toon RP/Post-Processing/Debug.
  • Go to your pipeline asset, make sure the post-processing is enabled, and add the newly created asset to the Post-Processing Passes list.

Usage

📝 Note: Debug Pass only works in development builds and the Editor.

Tiled Lighting

Visualizes the number of lights put in each tile after light culling.

  • Show Opaque: displays the visible lights for opaque geometry as a green-red gradient. Green means fewer lights, red - more lights.
  • Show Transparent: displays the visible lights for transparent geometry with blur color. The brighter the blur, the more lights a tile has.

Tiled Lighting

Depth

Shows the texture generated after the Depth Pre-Pass.

Depth

Normals

Shows the texture generated after the Normals Pre-Pass.

Normals

Motion Vectors

Shows the texture generated after the Motion Vectors Pre-Pass.

Motion Vectors