» Motion Blur
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Motion Blur

effect blur dx9/ex9 motion


this reacts to world-, view-, projection-, aspect ratio transformation and dynamic meshes too.

the help patch is a bit lame but i hope that shows well how to use this.
have fun!:)

i've done some minor fixes and cleanups and i solved the ugly edges by smoothing the velocity map. also i discovered that the blur of the movement on Z axis was incorrect when perspective was used so that's fixed too.

revamped the whole thing: now it's nicer and has more control. still it has some ghosts caused by the blur though.

added blur filter instead of the gaussianblur, added more control to velocitymaps, corrected this and that

i discovered after this long time that the direction of the blurring was not always right and it was annoying. so it's fixed now and it's way much nicer.


06.02.11 [02:55 UTC] by microdee | 1067 downloads
1.0 release version
Show 3 older revisions

Older Revisions

07.02.11 [19:14 UTC] by microdee | 809 downloads
1.01 fixed edges, perspective, cleaned up shader codes
18.09.11 [04:20 UTC] by microdee | 760 downloads
2.01: now it fits in the texture filters, added/corrected a lot of things, added more control
17.07.12 [17:58 UTC] by microdee | 614 downloads
2.02b: fixed blurring in wrong directions, fixed strange grid problem in beta27.2

u7angel 06/02/2011 - 13:11

nice one, this was on my list for a long time.
i guess its based on this http://http.developer.nvidia.com/GPUGems3/gpugems3_ch27.html ??

maybe you find some missing piece in this document. the shader code in gpu gems looks a lot more concise. anyway, good work, microdee

screamer 06/02/2011 - 13:21

great and useful contribution, thxxxxx :D

microdee 06/02/2011 - 14:41

yep it's partly based on that. however i was a bit surprised that the "for" cycle gave a syntax error in vvvv so i used this not really elegant method (i don't know much about it but this is a limitation of SM 3.0 or i overlooked something?)

m4d 06/02/2011 - 17:09

hooray for new shader contributions! :)

dottore 06/02/2011 - 19:49

good job microdee! :)
yes, a serious motion blur was needed and this seems really interesting! tnx!

antokhio 06/02/2011 - 20:13


West 07/02/2011 - 01:37

Wow, A little motion blur really does miracles!!

hrovac 07/02/2011 - 17:25

thx, like it.
in your dropbox.zip the shader "gaussianblurRatio" is missing.

microdee 07/02/2011 - 19:17

fixed in theory

u7angel 17/07/2012 - 14:38

help file not working with beta27.2
black screen, just the PIP rendering works.

everyoneishappy 17/07/2012 - 15:54

same here

microdee 17/07/2012 - 16:48

sorry i've done this in alpha28 and it was working there on b27.2 very weird stuff happens i confirmed black screen and alt + right click on Grid (EX9.Geometry) inside the Blend (EX9.Texture Mixer) fixed the problem. so now i've "extracted" blend.fx and it works without alt+rightclicking on grid

anonymous user login


~3d ago

joreg: absolutely. if it is for a repo that is public, just submit a pullrequest. otherwise please start a forum thread.

~3d ago

benjawmino: @joreg I ended up figuring out BezierSegment yesterday, so nevermind! Tell me, could a user submit a help patch? :)

~3d ago

joreg: @benjawmino please elaborate on this question a bit in a new forum thread. otherwise it is hard to answer..

~4d ago

benjawmino: so are there no splines/curves in gamma yet??

~8d ago

skyliner: wanna do drone shows or applications? then check this super cool project of our man e1n

~12d ago

NoseBleedIndustries: Thanks Joreg! The few minutes I was able to see, very good workshops!

~12d ago

joreg: @NoseBleedIndustries please give us some days, we'll have an announcement soon...

~12d ago

NoseBleedIndustries: I could not assist the Node20 (workshops ) Any Idea when we will have access to the links of the recordings?

~14d ago

bjoern: unity has c# bindings for usd, under apache license: https://github.com/Unity-Technologies/usd-unity-sdk