
A flexible fog solution featuring both depth-based and vertical fog modes. Designed to work even with transparent objects, where Unity's built-in fog falls short.✔️ Advanced Fog Shader – Depth & Vertical Fog for URP & HDRPAdd cinematic atmosphere and visual depth to your Unity projects with this Advanced Fog Shader, supporting both depth-based and vertical (height-based) fog modes. Built for URP and HDRP, it’s the perfect solution for environments where Unity’s fog falls short — especially when working with transparent objects or complex visual setups.✨ Key Features:✅ Depth-Based Fog: Adds distance-based fog using the camera’s depth buffer.✅ Vertical (Height-Based) Fog: Simulates altitude-driven fog for stylized or natural effects.✅ Transparent Object Friendly: Designed to avoid common issues with particles, transparent materials, or post-processing effects.✅ Fully Customizable: Tweak color, density, blend modes, start/end distances, and vertical falloff.✅ Optimized for URP & HDRP: Seamless integration with Unity’s Scriptable Render Pipelines.✅ Lightweight and Simple: Except for the demo scene, the entire package is only 16.5 MB in size. Plus, there's no need to change any of your settings.📌 Note: Performance on mobile devices has not been tested. Optimization may be required for mobile deployment.🎯 Ideal For:Foggy forests, mountain valleys, underwater scenesStylized games with layered or mystical atmospheresFixing fog artifacts in transparent objects (e.g., VFX, UI, water, glass)Adding visual depth and realism in a flexible, controllable wayBring your scenes to life with atmospheric depth — without compromising on performance or flexibility.Technical DetailsRender Pipelines: URP & HDRP compatibleUnity Versions: 2022.3+Shader Types: Shader GraphFog Modes: Depth-based fog, Vertical (height-based) fogTransparency Support: Works with transparent/alpha-blended objectsDocumentation (Setup & usage guide)Includes:2 shader variants (URP & HDRP)Demo scene(Only URP)Mobile Support: Not tested – optimization may be requiredPlatform Compatibility: Windows, macOS, Android, iOS (Requires devices capable of depth rendering)Limitations: No support for Orthographic Camera, VR, WebGL