Jump to content
  • Advertisement
Sign in to follow this  
lipsryme

Velocity buffer without GBuffer pass ?

This topic is 1994 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've currently got my object motion blur in my deferred renderer by calculating a velocity vector during the forward Gbuffer pass.
Now after reading through some recent papers like the cryengine3 or unreal engine 4 one's I noticed they don't ever have velocity stored in their gbuffer. I highly doubt that they don't use one so how do they do it, if not during their gbuffer pass ? Edited by lipsryme

Share this post


Link to post
Share on other sites
Advertisement

Yes that's exactly what I'm referring to, because I know that they have one but they don't seem to store this during their GBuffer pass.
I guess since they're using a light-pre-pass design they might do that at the second geometry pass but they don't mention that anywhere.
Also here on page 29 http://www.unrealengine.com/files/misc/The_Technology_Behind_the_Elemental_Demo_16x9_(2).pdfthey show their gbuffer layout which also does not feature velocity, same thing happening with frostbite 2

Edited by lipsryme

Share this post


Link to post
Share on other sites

you simply use the depthbuffer from the gbuffer-pass to generate a velocity buffer for all static elements, afterwards you render those few moving objects on top.

Share this post


Link to post
Share on other sites

well, there are not really any obvious alternatives to that, I'd say. (btw. you don't want to seperate dynamic/static, but moving vs none-moving objects. dynamic objects that don't move, might also not need to be rendered).

Share this post


Link to post
Share on other sites

From what I remember (which may be incorrect), everything in crysis is treated as a non-moving object as far as motion-blur is concerned except for the first-person gun model.

So besides the gun, everything gets its velocity vector from just depth + two view-proj matrices, while the gun renders out velocity vectors to a g-buffer.

Share this post


Link to post
Share on other sites

http://mycryengine.com/index.php?conid=8

 

"Motion blur can be applied both to individual objects (object-based motion blur) and to an entire scene (screen-based motion blur)," :)

 

not a good pic, but I think you can see object motion blur on the moving alien

http://www.abload.de/img/vlcsnap-2012-04-24-236zrdg.png

 

so I think it's the other way around. there is really object motion blur on moving objects, but the first person weapon has no motion blur, as it's bound to your head, if it would start to blur while moving, it would rather look like you're on drugs than a directional blur due to motion.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!