A frame resource: the depth of the scene, available once the scene has rendered. List it in
CameraFrameEffect#requires to read the depth in the effect's shaders, using the
getLinearScreenDepth function of the screenDepthPS chunk, which the composition includes for
the effect's compose chunk. The camera frame renders the depth the cheapest way available.
A frame resource: the depth of the scene, available once the scene has rendered. List it in CameraFrameEffect#requires to read the depth in the effect's shaders, using the
getLinearScreenDepthfunction of thescreenDepthPSchunk, which the composition includes for the effect's compose chunk. The camera frame renders the depth the cheapest way available.