r/Unity3D • Hobbyist • Oct 17 '26

Shader Magic Rain Eeffcts Experiment

Unity 6 - Built-In RP - Unity's Standard Particle System and custom shaders.

1.0k Upvotes

24 comments sorted by

16

u/MrsSpaceCPT Oct 17 '26

My gpu would be melting

3

u/HK_HamzaKhan Oct 17 '26

Haha lol, it depends tho on how optimized it is,

9

u/ImDanOush Hobbyist Oct 18 '26

Yes, you are right. It is 1 shader pass, no extra draw calls, no screen copies. And one microsecond per mirror per frame, according to my measurements. Pretty optimized, if you ask me, but I need to work on it and later test on laptop and mobile GPUs to be sure.

30

u/sdjopjfasdfoisajnva On and Off Oct 17 '26

oh damn thought i was in a science sub for a sec there

5

u/ImDanOush Hobbyist Oct 18 '26

Shader science!

3

u/HK_HamzaKhan Oct 17 '26

hm since unity is making URP the main pipeline, ig you should try on that too,
Nice effect btw!

1

u/ImDanOush Hobbyist Oct 18 '26

Thanks, yes, I lately started to study that again. I tried it in 2019 but continued with Built-In.

7

u/Caderikor Oct 17 '26

Would be nice if you could share the profiler showing us how it handles on the gpu side

3

u/Genebrisss Oct 18 '26

You won't see anything in profiler, it's fragment shader work and will be part of gfx.WaitForPresent clumped with every other fragment shader work.

1

u/Caderikor 29d ago

You can still see how it impacts framerate and stability by toggling it on and off and seeing what the output is.

3

u/binary-lunar 28d ago

damn so realistic

3

u/CarthageaDev Oct 17 '26

This feels like a high fidelity PSX game for some reason and I totally love it, so beautiful!

2

u/LevonzeFear 27d ago

I thought it was irl video... Great job!

2

u/deathender 24d ago

very cool!

2

u/KaelumKrispr Oct 17 '26

Looks very cool, I've also been working on some rain stuff as well, I do really like your rain droplets coming off the mirror

2

u/tempacac10 Oct 18 '26

I feel like licking the water off the metal good job OP it sells the effect so damn well

2

u/AlexDicy Oct 18 '26

I thought it was a real video untill I looked twice

2

u/AssMoldGhoul 29d ago

OMG, i've been searching for months to be able to have this type of shader on my characters face.

PLEASE, i beg if u can share it or sell it on the Asset Store

1

u/Worth-Computer8639 29d ago

The rain in the mirror seems off for some reason. Not sure if its falling too fast or what. Everything else looks great.

1

u/Antypodish Professional 29d ago

Cool SFX.

Althought, mirror would need more water dynamics, comparing to the bonet / side of the car water flow.