Resources for outputting and reading a texture with data about object motion in the cameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary view.
Page | Description |
---|---|
Introduction to motion vectors | Learn about how URP calculates the frame-to-frame screen-space movement of surface fragments. |
Built-in shader support for motion vectors | Learn about which types of motion different shaderA program that runs on the GPU. More info See in Glossary types support for calculating motion vectors. |
Motion vectors render pass | Understand how the MotionVectors render pass renders the motion vector texture. |
Output a motion vector texture in a custom shader | Render a motion vector texture in a custom shader. |
Sample motion vectors in a shader | Request the motion vector texture as an input in a custom shader. |
Troubleshooting motion vectors | Solve common issues with motion vectors, for example visual artefacts. |
Motion Vectors settings in the MeshRenderer component window reference | Explore the properties in the Motion Vectors settings to specify how a GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info See in Glossary contributes to a motion vector texture. |