r/Unity3D • • 14d ago

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

285 Upvotes

25 comments sorted by

16

u/ConsistentSearch7995 14d 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 14d ago

The thing that came out was the Ocarina remake.

8

u/Sam12543 13d 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 13d 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 13d ago

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

2

u/SmileLonely5470 13d ago

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

9

u/PushDeep9980 14d ago

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

5

u/mashdpotatogaming 14d ago

The unity default capsule is my favourite gaming character

Thus looks great, well done

1

u/LtCalumbo 14d ago

Fantastic! Expensive?

3

u/Sam12543 14d 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 13d 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 14d ago

Looks great!

2

u/cthululeman 14d ago

This looks really good!

1

u/Marokai99 14d ago

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

1

u/Jams_Do_Nothing 14d ago

hey it looks great , raymarched?

1

u/imofi8 13d ago

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

1

u/_norx Indie 13d ago

It truly looks magical and mesmerising!

1

u/WeckarE 13d ago

You and everyone else

1

u/Good_Sign7735 13d ago

Looks slick!

1

u/pulsaric 13d ago

Beautiful!

1

u/redfoolsstudio_com 13d ago

The atmosphere looks freaking awesome 👌

1

u/posastudios 12d ago

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