Page 1 of 1

motion blur and animated map.

Posted: Thu Jul 05, 2012 11:18 am
by j_man
Hi,

Had an idea about using an animated map on a material with motion blur. Doesn't work, it displays the current frame map across the whole duration of the motion blur. I presume because of some kind of motion blur optimisation. Any ideas?


Regards,

Josh.

Re: motion blur and animated map.

Posted: Thu Jul 05, 2012 12:47 pm
by Mihnea Balta
It's not really a motion blur optimization, it's just that Maxwell does not support animated material parameters. Your host application will export different values for the parameters at each frame if they are animated, but Maxwell does not know about this and does not perform interpolation between parameter values inside a single frame. Doing this would be a pretty big change inside the engine.

Also, interpolating between texture samples may not give the results you expect, since it would be a simple color interpolation between texture A and B. You probably want some kind of morphing effect if the textures are very different, which is expensive, hard to do, and impossible to expose in such a way that it fits everybody's needs.

I think most engines have the same limitation.

Re: motion blur and animated map.

Posted: Wed Jul 11, 2012 10:14 am
by j_man
Yea understood. It was asking a bit much and I will find a work around using geometry.

Thanks for taking the time to answer!

J.