ドキュメント

Unity Engine

Unity Engine

Output a motion vector texture from a camera

Output a texture with data about object motion in the camera view.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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