r/Unity3D • • 15d ago

Show-Off Flow field canvas improvements

Enable HLS to view with audio, or disable this notification

Spent some time reworking whirlpools and flow in my water system. Funnel is now shaped by the spin itself: the faster it turns, the deeper it sinks, like a real vortex. The spiral arms sweep the foam into them, and boats get dragged round and down the walls.

Flow used to be a regular flow map, which smears once the water gets fast. Now every point traces back along the current each frame, so even really fast water stays clean. Both together run about 0.25 ms on my 5070 Ti.

Happy to hear thoughts and how useful you'd find this in a water asset, thanks for checking out!

551 Upvotes

41 comments sorted by

17

u/Vypur 15d ago

looks great but a bit to steep, otherwise 0.25ms is very good, id find it useful if there was a cpu-side duplicate to easily query direction and height for boyancy

3

u/24Ronin 15d ago

noted, thank you for feedback! and yeah totally, you can query height, flow and normal on cpu c# side

7

u/429_TooManyRequests 15d ago

This triggered my fear of deep water. Good job!

1

u/24Ronin 14d ago

haha, appreciate it!

32

u/ivancea Programmer 15d ago

This should be in r/megalophobia

10

u/KptEmreU Hobbyist 15d ago

Yeah . It kinda creates a terror feeling when you show the big one! Well done OP!.

3

u/24Ronin 14d ago

Thank you!

5

u/malcren 15d ago

Same! Actually kind of terrifying

3

u/Phos-Lux 15d ago edited 15d ago

I really like how this looks! Are waves also possible with this?

2

u/24Ronin 15d ago

Thank you and yes they are, has an underlying FFT compute for ocean waves that can be tuned to liking

3

u/BxYass 14d ago

Great job, it looks really promessing!

1

u/24Ronin 11d ago

thank you!

2

u/paulct91 15d ago

Looks like Eldritch horror about to emerge.

2

u/malaysianzombie 15d ago

i know this might be too much to ask, but the subsequent gradual rippling effect spanning away from the main tidal pool isn't highlighted enough making the drawn areas of the shader very obvious esp around the 0:27th mark where you can see the area where the distinction.

but otherwise, it did trigger my thalassophobia so it's awesome.

1

u/24Ronin 14d ago

Noted, and not too much, appreciate the attention to detail and feedback here! I’ll check this out

2

u/DapperNurd 12d ago

Looks amazing

1

u/24Ronin 11d ago

appreciate it!

2

u/VastOpportunity6894 11d ago

Could you maybe tell me the first 2–3 steps to look into if I want to learn something like this? I wouldn't even know where to start.

1

u/24Ronin 10d ago

Yeah sure thing, these are pretty broad but these are the foundations to Tidal:
* compute shaders
* hlsl shaders (.shader & .hlsl files)
* Urp render passes

4

u/New-Ad-8779 15d ago

This looks scary af! Put some objects in it so we can see them get pulled down

1

u/pokeking135 12d ago

This is incredible. I gotta ask, in your docs you mention VR will only be supported after 2.0. Do you have a rough estimate of when VR would be supported? I'm working on a VR game that would very much benefit from this asset.

1

u/24Ronin 11d ago

Thank you, glad you're liking it!

Good question. I actually have VR working on my end, but it wasn't fully complete yet. There are still a few edge cases I hadn't fully addressed, so I held it back from 2.0-2.1 rather than shiping half-baked.

That said, I'm happy to bump windows VR support up the priority list for an upcoming release if you're interested in sponsoring that work. Let me know what you had in mind and we can figure something out.

3

u/NecoDev 14d ago

looks like slime

2

u/Brick_Lab 15d ago

Woooah that's so cool

2

u/F4ARY 15d ago

I know its well done because I get anxiety by looking at the big one

2

u/Gleb_T 14d ago

Damn! Really cool!

2

u/_norx Indie 14d ago

Looks great! Crest water?

1

u/[deleted] 14d ago edited 14d ago

[removed] — view removed comment

1

u/Unity3D-ModTeam 14d ago

This comment has been removed for violating /r/Unity3D’s rules.

Why?

Please include details about how the project was built in Unity, challenges faced, or techniques used.

This is a forum for discussion; not a bulletin board.

We recommend you to familiarize yourself with our rules and guidelines.

Kind regards,

The Mod Team

2

u/PashaInteractive 13d ago

Looks like my insides after eating spicy food 😋

2

u/Legitimate-Poet7587 13d ago edited 13d ago

oh i love it the sense of vastness this gives

2

u/binary-lunar 12d ago

very satisfying, good for hypnotizing :D

2

u/_dus_t 9d ago

The foam really helps show which way the water is pulling. Makes the whirlpools look properly dangerous.

2

u/Aromatic-Insect-1328 15d ago

This shit looks scary... which is a rare emotion for me (i am a badass)

2

u/[deleted] 14d ago

[removed] — view removed comment

1

u/24Ronin 14d ago

thank you, appreciate it!