A downloadable asset pack

Download NowName your own price

Gradient Fog For Unity


A fog effect that uses a gradient to determine the colour as it fades into the distance, Inspired by the GDC 2015 Art Of Firewatch Talk By Jane Ng with shader code originally based on This Blog Post by Harry Alisavakis this package is free to use for commercial and non commercial projects, though I would appreciate a donation if you find the asset useful.

Usage:

    1. Import the package into your unity project. 
    2. Drag the GradientFog.cs script onto your main camera, make a material with the Custom>ColouredFog shader and put that into the material field of the script. 
    3. Then you can check the Use Unity Gradient box and modify the gradient in editor, or put a custom gradient ramp image into the material. 
    4. If you are building your project I highly reccommend the Bake Gradient button to save the gradient to your assets folder as an image in unity so it doesn't need to be generated at runtime.
    StatusReleased
    CategoryAssets
    Rating
    Rated 5.0 out of 5 stars
    (2 total ratings)
    AuthorHyphinett
    Tags3D, Effects, fog, Shaders, stylised, Unity

    Download

    Download NowName your own price

    Click download now to get access to the following files:

    GradientFog.unitypackage 417 kB

    Comments

    Log in with itch.io to leave a comment.

    Thank you for this, one issue is that this works in the built-in render pipeline but not URP. Other than that the fog effect works wonders for my game.

    (+2)

    Yeah I still mainly work on the built in RP. I might update it if I ever get into URP.

    (+1)

    looks cool!

    (+1)

    This looks amazing!