Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Motion Blur
Dark Offline
Senior Member

Posts: 701
Threads: 20
Joined: Jul 2006
Reputation: 0
#11
RE: Motion Blur

yes, normaly it should
its just a shader, not a esential part of the game (esantial to the atmosphere imo tough)

[Image: elfenliednx4.jpg]
04-05-2007, 08:46 AM
Find
Sepai Offline
Member

Posts: 179
Threads: 10
Joined: Dec 2006
Reputation: 0
#12
RE: Motion Blur

Well it worked well for me but I do have Shader model 3.0 card in my machine
It made a bit of an improvement not that I really study game graphics that much
04-05-2007, 09:31 AM
Find
TheCollective15 Offline
Member

Posts: 89
Threads: 5
Joined: Mar 2007
Reputation: 0
#13
RE: Motion Blur

Wow, very nice. The game runs so much smoother! Haha...I'm happy.

Definitely include this in an upcoming patch, if possible...maybe make two different versions for those without shader 3.0 support...

Hmmm...one interesting thing I note, aside from the higher FPS, is a lot more image tearing (I believe that is the term)...not too detracting, but painful to look at sometimes...

You can't kill me if I kill me first!!
(This post was last modified: 04-15-2007, 06:56 PM by thor27.)
04-15-2007, 06:50 PM
Find
Abysmal Offline
Junior Member

Posts: 30
Threads: 4
Joined: Jul 2006
Reputation: 0
#14
RE: Motion Blur

yup, its in the patch. I re-opened the file just now after its been patched, and it mentions johnathan Wink

[edit] although it looks a bit different from his code.

te audire no possum, musa sapienum fixa est in aura
06-14-2007, 05:19 AM
Find
opiesche Offline
Junior Member

Posts: 1
Threads: 0
Joined: Jul 2007
Reputation: 0
#15
RE: Motion Blur

You could get rid of the dynamic loop with a sparse kernel (keeping the number of samples constant and only adjusting the width of the kernel based on velocity). It'll be a bit grainy at large kernel sizes but look reasonably good for motion blur and should be pretty quick as well. If there is a downsampled version (size/2) of the texture, or if it happens to have mip levels) you could use a half sized version to reduce the number of texture samples - every tex2D call expands to up to eight or so instructions - obviously the downsampled texture would have to be supplied by the engine so this can't be done by just tweaking the shader Wink
Also, to get a better sample rate, adjusting the sample position to be at the corners of texels ( s + 1/texWidth and t+1/texHeight) should improve quality a bit, because bilinear filtering will give you an exact average over four texels with every sample Smile

Just my $0.02. I might try this later tonight to see what it looks like Smile
07-27-2007, 05:46 PM
Find




Users browsing this thread: 1 Guest(s)