Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
VFX
Shaders
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/5
A quick and performant dynamic vertical fog shader works with URP and HDRP, mobile-ready, VR-ready.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2020.2.6f1
Not compatible
Compatible
Compatible
Description

This asset ONLY works with HDRP/URP on version 2020.2.6 and newer.


The Dynamic Vertical Fog shader is a simple shader based on the Unity Shader Graph, customizable and extensible per your needs. It works with URP and HDRP, mobile-ready, VR-ready. To set up the shader, follow the steps below:


1. In your scene, create a plane with the provided DynamicVerticalFogMaterial material


2. Change Shader/Material properties to satisfy your needs:


- Fog Color - changes the fog color. Alpha channel of the color is used to define the fog transparency


- Fog Density - defines the thickness of the fog


- Fog Noise - make the fog to be dynamic, with thickness not evenly distributed over the plane


- Fog Speed - moves the noise with the given speed


3. (Required) Update the camera Projection setting to be Perspective


4. (Required) Enable Depth Texture in your render pipeline settings. Make sure you update it for each quality setting


5. (Optional) Customize the DynamicVerticalFogShader shader graph per your additional needs. The shader is based on the visual Unity Shader Graph which makes it easy to customize and add additional parameters/nodes


A demo scene is included for your convenience, please select DemoSceneHDRP.scene for High Definition Render Pipeline and DemoSceneURP.scene for Universal Render Pipeline.

Dynamic Vertical Fog

(18)
325 users have favourite this asset
(325)
FREE
License type
File size
1.4 MB
Latest version
1.1
Latest release date
Jul 6, 2021
Original Unity version
2020.2.6
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR