MotoGP: wet weather effects

Originally posted to Shawn Hargreaves Blog on MSDN, Wednesday, April 1, 2009

Of all the work I did on MotoGP, I think I am most proud of the wet weather effects. Official Xbox Magazine were kind enough to call it "The World's Best Rain Effect (TM)".

What can I say. I grew up in England, and now live in Seattle. I know rain  :-)

I think there are two main reasons why this rain looked good:

  1. We implemented many simple effects, rather than a single complicated one. Several interlocking effects, even things that might seem silly in isolation, can combine to produce a more subtle and visually complex result. The more different things you have going on, the less likely anyone will realize how they work or stop to notice the flaws.

  2. We used reference photographs and video of real rainy races. It can be surprisingly hard to let go of preconceived notions about what things ought to look like, and open your eyes to notice what they actually do look like. And the results can be surprising...

Rain consists of drops of water falling from the sky, right? So we should probably start by using a particle system to draw these raindrops. But when we looked at photos, falling rain was rarely even visible!

Come to think of it, I often glance out the window here at work and can't tell whether it is raining. "It's certainly overcast and misty", I find myself wondering, "but is this rain or just lots of vapor in the atmosphere?" I can only directly see the falling rain if a headlamp or streetlight is shining on it, so the best way to tell is often to look for a puddle and see if there are any splashes.

Using our reference materials, we concluded that rain affects the appearance of MotoGP races in several ways:

Note how falling rain is not part of this list, so we never actually bothered to implement that.

As for the things we did implement, there were (as always) some constraints:

Stay tuned for more...

Blog index   -   Back to my homepage