Output a depth texture from a camera
Sample output textures in a shader
Output a motion vector texture from a camera
DepthTextureMode.MotionVectors builds a screen-sized RG16 (16-bit float/channel) texture, where screen space pixel motion is encoded into the R&G channels. The pixel motion is encoded in screen UV space.
Additional resources
Output a depth texture from a camera
Sample output textures in a shader