Motion Blur

This topic contains 3 replies, has 2 voices, and was last updated by  binoymvDas 7 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #30021


    Hi..can anyone help me to get a motion blur effect using opengl es 2…..
    blur effect for a moving object (not full scene motion blur)
    thanks in advance…..



    if somebody already got it worked, plz help me in this…i cudn’t find any proper solution in net Cry



    doesn’t have a code with me right now, anyway, here is the solution which can be found from DirectX SDK Sample

    1. create 2 RTs (RenderTexture) of 2*16bit float – this for storing ScreenSpace Velocity
    2. render your moving objects into this buffer – calculating ScreenSpace Velocity, (the velocity buffers will be swapped as the frame progress)
    3. Postprocessing – do Blending per-pixel along the velocity we stored 

    Sorry cannot have any better description, the similar technique also can be found in GPU Gems 3 – free to read at NVidia website

    * if ES20 cannot have float RT, you have to encode its velocity somehow into RGBA8

    hope this helps 🙂



    Thanks a lot Aik, for a fast response….and this is very helpfull and i got the link as
    trying to see things blurredSmile…thanks a lot……………….

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.