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.

2D Highlight only portion of image, darken the rest.

Discussion in 'UGUI & TextMesh Pro' started by Nolemonpledge, Dec 31, 2017.

  1. Nolemonpledge

    Nolemonpledge

    Joined:
    Apr 23, 2017
    Posts:
    7
    I have an image, and there is an area I would like to focus onto. So I thought maybe I can darken the surrounding of the image and leave the part I want to focus on alone. Something like this:
    upload_2017-12-31_14-30-5.png

    Is there any way to do this? Maybe invert a mask but can't seem to figure it out.

    Thanks.
     

    Attached Files: