2 registered members (3s05bmmc, flink),
650
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Simple rain effect shader
#419765
03/14/13 12:58
03/14/13 12:58
|
Joined: Nov 2007
Posts: 2,568 Germany, BW, Stuttgart
MasterQ32
OP
Expert
|
OP
Expert
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
|
Hey guys, i developed a rain shader yesterday and i want to share the technique with you Here is a little tech-demo with the shader and setup code. Have fun with it! Download here!The rain itself is a simple effect. The system renderns some cylinder shapes around the camera and uses triplanar texture mapping for the rain texture. Now this texture gets blended additive to the screen. Looks pretty good and eats a lot less power than particles Greets! Felix
|
|
|
Re: Simple rain effect shader
[Re: MasterQ32]
#419767
03/14/13 13:02
03/14/13 13:02
|
Joined: Jul 2005
Posts: 187
lostzac
Member
|
Member
Joined: Jul 2005
Posts: 187
|
Thanks a lot for this, could this also be transformed to handle snow as well ? It would be a lot of help to my rpg weather system
John C Leutz II
|
|
|
Re: Simple rain effect shader
[Re: MasterQ32]
#419774
03/14/13 13:26
03/14/13 13:26
|
Joined: Jul 2005
Posts: 187
lostzac
Member
|
Member
Joined: Jul 2005
Posts: 187
|
That would be great...Again thanks for this
John C Leutz II
|
|
|
Re: Simple rain effect shader
[Re: sivan]
#419781
03/14/13 14:32
03/14/13 14:32
|
Joined: Jan 2013
Posts: 41
Redoine
Newbie
|
Newbie
Joined: Jan 2013
Posts: 41
|
|
|
|
Re: Simple rain effect shader
[Re: HeelX]
#419851
03/15/13 13:08
03/15/13 13:08
|
Joined: Nov 2007
Posts: 2,568 Germany, BW, Stuttgart
MasterQ32
OP
Expert
|
OP
Expert
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
|
I found a simple workaround for fixing the noise/artifacts Use 0.0125 for the rain scaling instead of 0.125 it's not completly gone but much better. I am currently working on some kind of rain blocker to let rain only fall onto the top level and not below
|
|
|
|