DrawMeshWithMotionVectors
An example showing how to generate per-object motion vectors when using DrawMesh.
Install / Use
/learn @keijiro/DrawMeshWithMotionVectorsREADME
DrawMeshWithMotionVectors
This is an example showing how to generate per-object motion vectors correctly when using Graphics.DrawMesh to draw objects.

The sphere in the gif above is drawn with using Graphics.DrawMesh. The previous versions of Unity can't generate per-object motion vectors on this sphere, so that only camera motion is applied in motion effects (motion blur, temporal anti-aliasing, etc.).
Unity 5.6 introduced BuiltinRenderTextureType.MotionVectors that provides access to the internal motion vectors buffer. One can overwrite the buffer with using command buffers to generate per-object motion vectors on objects drawn with DrawMesh and its variants.
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
