Sign in to follow this  
NickyP101

When rendering Rain?

Recommended Posts

It depends how fancy you want to be I guess... GL_POINTS would work, though it'd be pretty ghetto ;)

For good looking rain, maybe try a particle system? In other words, have a texture that contains the image of a raindrop or maybe a group of raindrops, and then draw these rain textures falling from the sky.

roos

Share this post


Link to post
Share on other sites
careful when using particle systems. Depending on the art used for each particle, you may need to used axis-constrained billboards. This is to ensure that when looking to the sky (up) or to the ground (down), the drops still look like falling drops. It will be downright hilarious if u overlook that tiny detail :P

Share this post


Link to post
Share on other sites
You could just prerender ten frames of rain on a transparent backdrop and draw each frame sequentially over the scene with a big quad. Depends on how realistically you want to model your scene.

Share this post


Link to post
Share on other sites
Quote:
Original post by mikeman
I use blended GL_LINES, with the alpha value being low in the "start" point and high in the end. It looks pretty ok.


You can also try to use the technique Niniane Wang used in Flight Simulator [pdf]. It gives pretty good results if your camera moves fastly.

Regards,

Share this post


Link to post
Share on other sites
I read a paper somewhere (don't have the link, sorry) where the author maintained the human brain cannot distinguish individual drops. He simulated rain by darkening the scene and distorting it using a post-process. It looked very convincing.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this