Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Mesh Renderer Motion Vectors

Discussion in '5.4 Beta' started by magique, Apr 29, 2016.

  1. magique

    magique

    Joined:
    May 2, 2014
    Posts:
    3,995
    I just noticed today that the Mesh Renderer component now has a checkbox called Motion Vectors. I don't see this described in any manual so I'm wondering if someone could explain what this is supposed to be for.

    EDIT: Nevermind. I finally found a thread about this here.
     
    Necron99 likes this.
  2. theprotonfactor

    theprotonfactor

    Joined:
    Oct 10, 2014
    Posts:
    140
    I believe the checkbox enables the mesh to be rendered into unity's new motion vector buffer. Motion vectors track how much meshes and other things move from one frame to the next in screen space. The x and y movement is stored in a texture and shaders can now access that texture. It's mainly used for updated image effects such as temporal antialiasing and motion blur.