This is a paid asset, but now you can download Simple Vertical Fog/Height Fog Shader for Mobile, Desktop and VR for FREE, but please remember this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Detail this asset from Unity Store: Original Link
Simple Vertical Fog/Height Fog Shader for Mobile and Desktop v1.2
Now supports Single Pass Instanced Rendering in VR!
A simple vertical/height fog shader that just works.
Optimized for Mobile, VR & Desktop
Doesn’t work with Orthographic camera but you can use a low FOV Perspective camera as a workaround.
If you’re looking to simulate clouds or volumetric fog, check out Advanced Fog. It includes this package.
Supported Unity versions:
2017.1 or higher
The package contains:
1x Simple Fog [SRP, URP, HDRP, VR]
1x Even Fog [SRP, URP, VR]
1x Script for fixing depth for Mobile builds
[Old files]
1x Even Fog URP Shader Graph source image
1x Simple Fog HDRP Shader Graph source image
Quick Setup:
1. Create new material
2. Drop shader on top of material or select from dropdown
3. Drop material on top of plane 3D object
The shaders have adjustable Color, Opacity and Intensity.
For any questions you can chat with me on Discord
or send an e-mail to [email protected]