Weather Effects
Moderator: Moderators
Re: Weather Effects
tested some different options for rain, deactivating the depth buffer
creates a nice heavy rain effect, without having to add more effects.
i changed the fog sphere from uv sphere to ico sphere, which has less
triangles, and less rendering problems.
i have set blending to GL.SRC_COLOR,GL.ONE it generates an awesome effect!, it could be used for changing the player view or something like that.
should i use the depth buffer for the fog effect?
creates a nice heavy rain effect, without having to add more effects.
i changed the fog sphere from uv sphere to ico sphere, which has less
triangles, and less rendering problems.
i have set blending to GL.SRC_COLOR,GL.ONE it generates an awesome effect!, it could be used for changing the player view or something like that.
should i use the depth buffer for the fog effect?
Re: Weather Effects
updated the image:
fog is working, with only 1 sphere, see the differences between values:

right click to enlarge, so you can see the details
now i need to make the lightnings with sounds,
the lightning effect is easy, but about the sounds, how to make them?
maybe add a rain sound too?
how should the lightnings work?
one option for lightnings is a light that is spawned on the front of the camera randomly at random angles.
that is the only way i can think of making lightnings.
i will use a cube for the lightning, which color should the lighting color be?
fog is working, with only 1 sphere, see the differences between values:
right click to enlarge, so you can see the details
now i need to make the lightnings with sounds,
the lightning effect is easy, but about the sounds, how to make them?
maybe add a rain sound too?
how should the lightnings work?
one option for lightnings is a light that is spawned on the front of the camera randomly at random angles.
that is the only way i can think of making lightnings.
i will use a cube for the lightning, which color should the lighting color be?
Last edited by user on 14 Feb 2008, 19:25, edited 1 time in total.
Re: Weather Effects
finished the lightning light, just need the sound now.
Re: Weather Effects
Why have lightning spawn in front of cameras? That doesn't do anything but cause epilepsy. It would be better, if lightning actually interacted with units, ie, fried them. I love the smell of fried peewees in the morning.
Re: Weather Effects
i will try to explain it a little better:
if i use textures, it lags alot, if i make the light cube spawn somewhere in the map, it wont look good, so the only way is to make a very bright light in the camera, with a sound after some time.
i know what i am doing, and it looks good at the moment.
if i use textures, it lags alot, if i make the light cube spawn somewhere in the map, it wont look good, so the only way is to make a very bright light in the camera, with a sound after some time.
i know what i am doing, and it looks good at the moment.
Re: Weather Effects
those spheres can be used to make day-night cycles too, i will post a screen of a map with the sphere and without.
Re: Weather Effects
updated the image, to show how day-night cycles would work.

Re: Weather Effects
Here are some thunder sounds, remixed / remastered by me.
Public Domain, if anybody needs thunder sounds.
Public Domain, if anybody needs thunder sounds.
Re: Weather Effects
thanks for the sounds, going to implement them, it will be really cool,
current lightnings are really cool, with sounds, it will be even better.
i will try to find a way to make rain more varied without making an array of display lists, should work by changing the depth buffer options, or the
alpha values.
i added the calls DrawWorldReflection, DrawWorldRefraction, and DrawWorldShadow, that are only called when using special water, or shadows.
they will draw the reflection and refraction of the raindrops, and the reflection and refraction of the lightning effects, i am not sure if draw world shadow should be used.
current lightnings are really cool, with sounds, it will be even better.
i will try to find a way to make rain more varied without making an array of display lists, should work by changing the depth buffer options, or the
alpha values.
i added the calls DrawWorldReflection, DrawWorldRefraction, and DrawWorldShadow, that are only called when using special water, or shadows.
they will draw the reflection and refraction of the raindrops, and the reflection and refraction of the lightning effects, i am not sure if draw world shadow should be used.
Re: Weather Effects
just tested the sound effects, they are really cool, do you think a rain sound would be good?
i will make the thunder get played at random places at the map, the play sound function plays a 3d sound.
i will make the thunder get played at random places at the map, the play sound function plays a 3d sound.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Weather Effects
I am in awe. If it existed, I would award you the Heroes of Spring Medal of Honor.
Re: Weather Effects
oh, ok, sorry for what i posted here i didnt understood it correctly, i thought it mean that i havent made it.
i am really sorry.
i am really sorry.
Last edited by user on 15 Feb 2008, 11:24, edited 2 times in total.
Re: Weather Effects
No, he means if there were such a thing as a Medal for Spring Stuff, he would give you it.
Re: Weather Effects
it is almost done, i just need to make the clouds, how should they look like?
- clumsy_culhane
- Posts: 370
- Joined: 30 Jul 2007, 10:27
Re: Weather Effects
user wrote:it is almost done, i just need to make the clouds, how should they look like?
.. like nice, fluffy clouds.. make a set or something, so all your differnt types of clouds (i dont know them off by heart) then have them at varying darkness... )
i dunno, do what ever, your current work is fantastic!
Re: Weather Effects
i made a cloud texture now, i will make a few more, they wont be 3d, and their texture will be small, 256x256, i made them at 2048x1024, then resized.
they look good, they are white, they can be used for almost anything.
clouds are easy and fun to make, i made about 7 textures in 10 mins.
they look good, they are white, they can be used for almost anything.
clouds are easy and fun to make, i made about 7 textures in 10 mins.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Weather Effects
Prolly, but very much transparent. Might use the clouds thing in photoshop to a quick cheap random cloudy texture.