Motion Blur effect

Hi @FredZX !

What you want to achieve is most probably a motion blur. I once adapted an implementation of motion blur from shadertoy (https://www.shadertoy.com/view/MdSGDm) as a fragment program for a sprite to Defold:

You probably want it rather to be aplied to everything on your screen, so you might render your scene to a render target (a separate, internal buffer/texture) and then perform this motion blur as a postprocessing when drawing this render target to a quad (simplest plane, a geometry to which you assign a texture) and this quad will fill the screen. This is the most common post-processing pipeline in Defold, let us know if this is understandable to you or you need more explanations :wink:

You might get to know how to draw to an offset buffer / render target and to quad filling the screen after watchin my video:

or reading official Defold example:

After understading how to make post-processing with this technique - let us know how are you familiar with GLSL and if you can adapt the motion blur example to your needs :wink:

4 Likes