Vision is a utility image filter for Unity that visualizes frame information.
Unity 2017.1.0 or later
Download one of the unitypackage files from the Releases page and import it to a project.
There are three different modes in the filter.
In Depth Mode, Vision visualizes the depth information of the frame with a color gradient from white (near) to red (medium) to black (far).
The "Repeat" value is used to determine the repetition of the gradient. This is useful to inspect depth difference within narrow ranges.
In Normals Mode, Vision visualizes normals in the frame with a color gradient. It retrieves normals from G-buffer if it's available. In case G-buffer is not available or "Use Depth Normals" is turned on, it switches to use the CameraDepthNormals texture instead.
It shows invalid normals (length != 1.0) with red pixels when "Check Validity" is turned on.
Motion Vectors Mode
In Motion Vectors Mode, Vision visualizes motion vectors in the frame with a color gradients and arrows.