Rain drop effect in Unity

unity
shaders

#1

Hi everyone,

I try to create the rain drop effect in unity. And all the texture created within substance designer.
I appreciate Klemen and Simon great work. It truly inspired me.

And wish you like it.
Cheers!


Download origin size of SD graph


Download origin size of shader graph

Artstation link:


#2

This turned out great! Thank you very much the breakdown as well, really cool to see :grin: . I maybe think the longer streaks could use a bit more breakup i think. Maybe by varying the the strenght of them, or if you could make it so the streaks don’t all flow down at the same speed all the time. Otherwise, very sweet job!


#3

Amazing job! As you did the video, maybe some screens high res of substance designer (hi res of the one that you put) and of the amplify node shader could be great! Wonderful thank you for sharing!


#4

Thank you! It is a good idea to be different speed of flowing down.
I think it could work by calculate two or more different offset time. I will try it next time.


#5

Thank you!
I will take time to optimize it and the node shader.


#6

Is there a particular setup for the rain drop material to be viewed within Unity?
Thanks


#7

You have to add the package of AmplifyShaderEditor.
And then add the script of PostProcessExample to your camera.

AmplifyShaderEditor\Examples\Official\TemplateExamples\PostProcess\Sobel\PostProcessExample.cs

Next, drag your material of postprocess to the script. Done!

Cheers


Call For Entries: 2019 GDC Reel
#8

Thanks, the confusion was with the package manager within Unity for updating post processing stack which for some reason no longer included the “PostProcessExample”.
Cheers :slight_smile:


#9

“PostProcessExample” is included in Amplify shader editor not in post processing stack.

I`m working on Unity 2018.2.0f2 and Amplify shader editor 1.5.5.

Wish it work for you.:grinning:


#10

Oh I thought it was always with the post process stack, Thanks for the clarification. :smiley:


#11

Hello and so many thanks for sharing
Only 3 questions
First:is this effect only works in camera i mean we cant use it as a surface shader maybe for a windows etc.?
Second: all the textures are made right inside the substance designer?or did you used any external textures or maps?if yes can you please share them at least?
And the final one:ive tried to recreate the nodes using amplify but i couldnt find any nodes named Screen the one on top right that has a single input named Tex
Any help will appreciated


#12

The node you’re talking about is probably a “Texture Object” node and is renamed to “Screen”.


#13

Hi there and so much thanks for response
Yeah i already found out
Btw thanks :slight_smile:


#14

Sorry for my delay reply.

First: This is only working in camera. But I think it could work for windows if try to modify some node to fit as surface shader.

Second: Sure, all the texture is made within Substance designer.

Third: As boorch metion. Thank you, friend.

Have a nice day.


#15

Hi again and Thankx for answer bro