The effect descriptions on this page refer to the default effects found within the post-processing stack.
Motion Blur is a common post-processing effect that simulates the blurring of an image when objects filmed by a camera are moving faster than the camera’s exposure time. This can be caused by rapidly moving objects or a long exposure time. Motion Blur is used to subtle effect in most types of games but exaggerated in some genres, such as racing games.
The Motion Blur techniques supplied in the post-processing stack are:
Shutter Speed Simulation
Multiple Frame Blending
Shutter Speed Simulation provides a more accurate representation of a camera’s blur properties. However, as it requires Motion Vector support it is more expensive and not supported on some platforms. It is the recommended technique for desktop and console platforms. This effect approximates Motion Blur by storing the motion of pixels on screen in a Velocity buffer. This buffer is then used to blur pixels based on the distance they have moved since the last frame was drawn.
Property: | Function: |
---|---|
Shutter Angle | The angle of the rotary shutter. Larger values give longer exposure therefore a stronger blur effect. |
Sample Count | The amount of sample points, which affects quality and performances. |
Motion Vectors
Depth texture
Shader model 3
See the Graphics Hardware Capabilities and Emulation page for further details and a list of compliant hardware.
The Multiple Frame Blending effect simply multiplies the previous four frames over the current frame, weighted towards the more recent frames. Whilst this effect will work on all platforms, as it does not require Motion Vector or Depth texture support, it requires storing two history buffers (luma and chroma) of the last four frames which uses memory.
Property: | Function: |
---|---|
Frame Blending | The strength of multiple frame blending. The opacity of the preceding frames are determined from this coefficient and time differences. |
See the Graphics Hardware Capabilities and Emulation page for further details and a list of compliant hardware.
2017–05–24 Page published with no editorial review
New feature in 5.6
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thanks for helping to make the Unity documentation better!