This article explains the settings and values for the Corona Data shader.
Overview
The Corona Data shader allows for the output of various data channels and is intended mainly for debugging purposes.
This can also be used to create some interesting effects; for example, coloring objects based on their primitive ID, instance ID, material ID, or their viewport wire color.
Shader properties
Mode – This parameter allows you to select between different modes for extracting the data.
Primitive type
Mesh component
Material ID
Primitive ID
Instance ID (source mode)
DUVW
Abs (DUVW)
Pixel: World ratio
World position
Shading normal
Geometry normal
Dot product shading
Z-Depth
Backside hit
Tangent
Object Space Normal
Object Gradient
Wire color
UVW
UVW channel – This value controls the mixing intensity.