Motion Blur

Motion blur is the apparent streaking of rapidly moving objects in a still image or a sequence of images such as a movie or animation. It results when the image being recorded changes during the recording of a single frame, either due to rapid movement or long exposure. To achieve Motion Blur effect, you need:

1. Add two back buffer aligned 64-bit render target textures, respectively as Temp texture and Sum texture.

2. Combine original texture and Sum texture to Temp texture.

Use the combine.fx shader to combine them.

3. Copy Temp texture back to Sum texture.

Use the stretch_copy.fx shader to copy back.

4. Output Sum texture to screen.

Also use the stretch_copy.fx shader to output.