Version: Unity 6 (6000.0)
Language : English
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

Output a depth texture from a camera
Sample output textures in a shader
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961