|
Melting Snow Shader approach
#416034
01/27/13 13:32
01/27/13 13:32
|
Joined: Oct 2004
Posts: 4,134 Netherlands
Joozey
OP
Expert
|
OP
Expert
Joined: Oct 2004
Posts: 4,134
Netherlands
|
http://joostdevblog.blogspot.nl/2012/12/dynamically-melting-snow.htmlThis article describes how to create a melting snow effect in shader model 2.0. Perhaps you can go creative with it . For the record: I did not write this article, credits go to Joost, developer at Ronimo Games.
Last edited by Joozey; 01/27/13 21:56.
Click and join the 3dgs irc community! Room: #3dgs
|
|
|
Re: Melting Snow Shader approach
[Re: Joozey]
#416043
01/27/13 15:08
01/27/13 15:08
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
Cool! Did you do this for a sepcific game?
Always learn from history, to be sure you make the same mistakes again...
|
|
|
Re: Melting Snow Shader approach
[Re: Joozey]
#416519
02/01/13 11:10
02/01/13 11:10
|
Joined: Apr 2008
Posts: 2,488
ratchet
Expert
|
Expert
Joined: Apr 2008
Posts: 2,488
|
Here is a better utilisation of that sort of shader : Some sort of multitexture painting in the 3D models directly, so you can have lot of variety and non repetition on textures. Transisiton shader
|
|
|
Re: Melting Snow Shader approach
[Re: mk_1]
#416535
02/01/13 13:50
02/01/13 13:50
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
This may be a stupid question but I don't understand the concept behind vertex colors: What is vertex painting? Essentially it’s blending several textures depending on the mesh’s vertex colors. Since vertex colors are linearly interpolated you get a smooth result. I know that if I have a color vector in the vertex shader and push it to the pixel shader the values get interpolated, but where does the vertex color come from? Is it a regular tex2D operation in the vertex shader? If yes/ no, is it possible in acknex?
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
|