new rain prefab for unity

Hi unity developpers ! :stuck_out_tongue:

you all know the unity island demo with beautifull
and bright sun, and beautifull warm weather…

Now come the bad days !!!

Islands with rain !!! tropical rain !!!
you can see some lil webplayers at
http://myunitytoys.webs.com/
This is a first set. I’ll quickly add a cursor for setting the
rain density. It can be set by script, but not yet in
webplayer interface…

Please tell me what you think about this work :wink:

Have a nice day with unity !

If you look down, in your demo, there is a round bubble. There is also a lot of banding if you look down the pathway.

yes hello Jeramy :slight_smile:

yes there is. it’s some artifact due to the modeling method.
In your opinion, jeramy, how could this be avoided ?
I’m thinking about some shader work just like those fading
to transparent when crossing polygons…

On the other hand, i don’t understand the ‘banding’. could you explain please ?

Finally, this package is based on a script, and can of course be fully customized to
each need by the programmer.

Have a nice day

Well, the model could just be open ended on the bottom and top so that wouldn’t occur? Also, the banding is where you can see the cylinders hit the terrain and other objects. It still looks great, but it makes it quite clear that there are just consecutive cylinders with the animated texture. Unfortunately, using your method I don’t believe there is a way to resolve this. Still looks cool though :slight_smile:

thanks animus :slight_smile:

Ok. now i understand wha is called banding. It’s all the same artifact that occurs in any 3D scene
where semi-transparent polygons cross non transparent ones, like in fog particles or clouds.
I think i gonna work on a ‘fade to transparent’ shader just before cloud hits ground.
For the meshes, they are not cylinders, they are spheres wich allow viewer to rise and lower head
without the artifacts a plane or a cylinder would give.
the BIG problem, is that the banding you talk about is always following the observer…
It’s why it is so obvious.

Have a nice day.

Hi all !

I reworked a bit the rain package and made the rain density
changeable with a cursor and the mousewheel. Unfortunately, the
rain sound always plays even if there’s no rain… ooops
Anyway, the sound is not what is showed :wink:

http://myunitytoys.webs.com

Have a nice day !

hello

Now the model is opened at bottom to avoid rain gather at player’s feet.

Do you think it would be good to setup more parameters interface in demo ?
like color, rain speed, fog etc to ease the play around ?

http://myunitytoys.webs.com