I've implemented better fog (atmospheric perspective) in my shaders, so distance...

@runevision@mastodon.gamedev.place

I've implemented better fog (atmospheric perspective) in my shaders, so distance fades not just towards a single color (like classic fog), but a color which itself gets paler with distance. This adds so much depth to distant parts of the view and I feel it makes the landscape "breathe".

I know actual atmospheric scattering rendering produces similar results; but this here is just a hacked version of the built-in fog in Unity BIRP that smoothsteps between two colors over distance.
#GameDev