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 pixelThe smallest unit in a computer image. Pixel size depends on your screen resolution. Pixel lighting is calculated at every screen pixel. More info
See in Glossary
motion is encoded into the R&G channels. The pixel motion is encoded in screen UV space.

Additional resources


Did you find this page useful? Please give it a rating:

  • Output a depth texture from a camera
    Sample output textures in a shader