r/Unity3D • • 7d ago

Shader Magic I've been experimenting with a customisable ground fog shader (URP)

284 Upvotes

25 comments sorted by

16

u/ConsistentSearch7995 6d ago

Ive seen like 5+ posts just about ground fog in less than a week. Was there like a tutorial or asset that recently came out for Fog?

30

u/bruno_the_cow 6d ago

The thing that came out was the Ocarina remake.

8

u/Sam12543 6d ago

yeah this is exactly it! i only realised after i'd posted this that there were quite a few other people who had been similarly inspired.

3

u/ElwinLewis 6d ago

I don’t wanna be that guy, but AI seems to LOVE fog in game dev, I’m making an arpg using AI and the amount of times Claude has referenced or suggested fog is telling.

OP did good work though regardless if this is painfully hardwired artisanal code or ai generated

7

u/ElephantFluid5719 6d ago

Water, fog, and apparently tentacly monsters. They are everywhere on gamedev subs right now with people showing off "their" "work".

2

u/SmileLonely5470 6d ago

Yeah its a tutorial of sorts by a guy named Claude. Maybe WoW Forever's volumetrics is it too.

9

u/PushDeep9980 6d ago

Experimenting? Looks like you can finish up your thesis dude this look dope

5

u/mashdpotatogaming 7d ago

The unity default capsule is my favourite gaming character

Thus looks great, well done

1

u/LtCalumbo 7d ago

Fantastic! Expensive?

3

u/Sam12543 7d ago

Thanks! Fairly, yeah. It's ray-marched at full res with a lot of steps, so it's tuned for looks over frame rate right now.

Half-res rendering is next on the list and should hopefully help a lot!

5

u/shoxicwaste 6d ago

Looks great but the real challenge is making it viable in a production scale game whilst also having good visual fidelity. prolly have to go quarter resolution and optimize the ray march, maybe LODs based on distance and advise users to store terrain height in native arrays for free terrain quiries

2

u/Baraqyal 7d ago

Looks great!

2

u/cthululeman 7d ago

This looks really good!

1

u/Marokai99 6d ago

How does it work with terrain? Is is following based on height map?

1

u/Jams_Do_Nothing 6d ago

hey it looks great , raymarched?

1

u/imofi8 6d ago

The soft depth fade where it intersects the slope looks really nice.

1

u/_norx Indie 6d ago

It truly looks magical and mesmerising!

1

u/WeckarE 6d ago

You and everyone else

1

u/Good_Sign7735 6d ago

Looks slick!

1

u/pulsaric 6d ago

Beautiful!

1

u/redfoolsstudio_com 6d ago

The atmosphere looks freaking awesome 👌

1

u/posastudios 5d ago

Looks great! Is it raymarched? Curious how it performs.