Another way to create a motion vector pass is to use a custom AOV and assign an Ai Motion Vector shader to the default 'Shader' attribute.
Info: More information about motion vectors is available here.
The scene file can be downloaded here.
Do not name the Custom AOV 'motionvector' as it may cause conflicts with the built-in 'motionvector' AOV.

Ai Motion Vector shader. Encode_raw_vector enabled.

aiAOV_mblur
Enable instantaneous_shutter in the Motion Blur settings. This is because we don't want motion blur in the render, but we still want the motion velocity information in our motion_vector AOV.
Render the scene. The custom AOV mblur should render in the RenderView window.
![]() |
![]() |
| Beauty AOV | Custom Motion Vector AOV |
![]() |
![]() |
![]() |
| Vector Blur node settings in Nuke |
The final output should look like the image below left. It looks pretty close when compared to the same scene rendered with true motion blur. There are, however, subtle differences. This is due to the limitations of rendering out 2d motion vectors.
