Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Gradient Fade Shader

Discussion in 'Shaders' started by iago_souza, Feb 11, 2019.

  1. iago_souza

    iago_souza

    Joined:
    May 21, 2018
    Posts:
    1
    Hello everyone.

    Is there a way to create a gradient fade into materials within Unity? If so, can it make him fade in all directions?

    (NOTE: What I'm wanting is not specifically a transition between two materials, it's just a gradient fade in just one material).

    Something like that:



    - I have some environments exported from an old game, and in this game, the developers used something like this to make the transition between different types of terrain.

    Could someone show me a direction to do this? Thanks.