View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1
- Last updated
- First released
- Unity version
- 2020.2.6 or later
- Package size
- 1.4 MB
- Files
- 10
- Favorites
- 405
- Views in the past week
- 24
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Dynamic Vertical Fog
A quick and performant dynamic vertical fog shader works with URP and HDRP, mobile-ready, VR-ready.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
Dynamic Vertical Fog screenshot 1
About this asset
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.
From the publisher's Asset Store listing.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2020.2.6f1 | Not listed | Compatible | Compatible |
As listed on the Asset Store.