Viewer Pass
The viewer pass is the last pass of the pipeline, that renders the selected pass framebuffer (Image by default) to the window.
The viewer pass main purpose is to enable viewer transformation (scale and pan), and it also has an opportunity to add extra information to the viewer image.
There are two built in viewers, “None” which only applies the transformation, and “Values Overlay” which also displays the components values inside each pixel (visible when pixels are scaled above a certain level (settings)).
A custom viewer pass can be added to the Project definition, and should be responsible for sampling iViewerChannel at the transformed position, using the iViewerOffset and iViewerScale uniforms, before adding extra information.
See the Viewer template, and the Viewers example project for more details.