Analytic Fog is a lightweight and flexible screen-space fog solution for Universal Render Pipeline.Unity 6+ | URP 17+Render Graph API onlyNo Compatibility Mode supportAnalytic Fog strikes the perfect balance between Unity’s built-in fog and full volumetric solutions. This asset offers a greater visual quality and artistic control than the standard fog, without the complexity, performance cost, or integration overhead of true volumetrics. It is an ideal choice for stylized and semi-realistic projects that prioritize art direction over physical accuracy.✅ Key Features:- Supports both uniform and height-based fog models with smooth exponential attenuation.- Affects skybox for a fully cohesive look (optional).- Stable, artifact-free rendering with no stochastic noise, ghosting, or flickering.- Lightweight implementation with predictable, constant performance cost.- Seamless integration with Unity’s Volume framework for clean, intuitive setup.- Designed to work out of the box without conflicts with other assets.- Supports orthographic projections, XR, MSAA, and all Rendering Paths.- Includes a demo scene with a ready-to-use example configuration.❌ Limitations:- Unaffected by scene lighting. The fog color and appearance are controlled fully by the user.- You can't place "fog zones" in the scene. The fog is only controlled by global or local post processing volumes.- No advanced volumetric features such as 3D noise scrolling or god rays by design.- No oblique projections support (custom portal/planar reflection cameras).Some third-party assets were used for the demonstration screenshots and are not included in the package:low poly city pack by Boris731: https://skfb.ly/oqxNPLicensed under CC BY 4.0: https://creativecommons.org/licenses/by/4.0/Terrain Dristibute GN by Node_λrt: https://skfb.ly/oxrLCLicensed under CC BY 4.0: https://creativecommons.org/licenses/by/4.0/The demo scene uses some assets from the 3D Game Kit - Environment Pack by Unity Technologies licensed under Standard Unity Asset Store EULA. Mid-high triangle count (up to 12k). Texture resolution ranges from 512 to 2048. Metallic, Occlusion, and Smoothness are packed into single RGBA textures.Analytic Fog works as a single fullscreen pass that requires depth texture. The user adds a Renderer Feature and configures the effect via Volumes they place in their scenes.Tested on DirectX 11 & 12, Vulkan, OpenGL Core & ES 3.0.

