Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / help with cloggy's rain

Author
Message
trogdor
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: Portsmouth, VA, USA
Posted: 16th May 2008 22:44
I found this 3d rain effect posted by Cloggy
http://forum.thegamecreators.com/?m=forum_view&t=42466&b=6

I like the effect but it does not work when turning the camera around, or looking up and down.

The part I don't understand is the pick vectors in



I've attached a modified version of the 3d rain code. I added a skybox for movement reference, and attached camera rotation to the mouse.

Let them hate as long as they fear -Caligula

Attachments

Login to view attachments
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 17th May 2008 02:04
You may like this example
I think you may need to find the proper "rain" texture that blends correctly with your environment and also use cones instead of cylinders for the look-up effect
cheers

Attachments

Login to view attachments
trogdor
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: Portsmouth, VA, USA
Posted: 17th May 2008 10:25
Thanks Scorpyo,
I like your example, Cylinders with scrolling texture.
Simple and very effective

I use scrolling textures on my water surfaces, if I'm not using water shaders. I did not think of using it like you did for the rain.

I'll play around with this.
Thanks again for your help.

Let them hate as long as they fear -Caligula

Login to post a reply

Server time is: 2024-11-25 03:59:34
Your offset time is: 2024-11-25 03:59:34