Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Mesh Renderer Motion Vectors

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

  1. magique

    magique

    Joined:
    May 2, 2014
    Posts:
    4,030
    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.