Search Unity

  1. We are looking for your feedback about Templates! Tell us about your experiences by taking our survey.
    Dismiss Notice
  2. Curious about what's going to be in 2021.1? Have a look at the 2021.1 beta blog post.
    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:
    3,853
    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.
     
unityunity