Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Discussion Making alpha channel gradients into multiple directions

Discussion in '2D' started by dulap16, Aug 20, 2022.

  1. dulap16


    May 18, 2022
    I have a bunch of 2D mesh objects, of different transparency values, and I would really like to have the transparency kind of gradually increase and decrease from one object to another.
    upload_2022-8-21_1-19-30.png This is what my game looks like.

    Is there any easy way to do it? Or should I try to make some kind of script that would color each pixel based on its position relative to these regions? Thank you !
  2. MelvMay


    Unity Technologies

    May 24, 2013
    Sprites? What do you mean 2D mesh objects?