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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Soft Mask - A replacement of Unity UI Mask with alpha support

Discussion in 'Assets and Asset Store' started by zxkne, Feb 4, 2017.

  1. zxkne

    zxkne

    Joined:
    Jan 27, 2016
    Posts:
    226
    Unfortunately, applying of more than one mask to a single object is not possible with Soft Mask. You can work around this by using Render Textures: render both masks into a render texture and then use the resulted texture as a mask. But it requires some extra work and has some performance burden. If you're still interested in this approach, you can check out the example scene 06-RenderTexture that comes with the Soft Mask.
     
  2. corfing

    corfing

    Joined:
    May 20, 2014
    Posts:
    4
    Thank you.
    I got close to I wanted. i'll try to optimize.
     
    zxkne likes this.
  3. DragonCoder

    DragonCoder

    Joined:
    Jul 3, 2015
    Posts:
    1,473
    Huh, how comes this is depreciated?
    It was/is perfect to use and don't think the "old" UI system will ever change so much anymore that this would become incompatible.
     
    dman8723 and PanthenEye like this.
  4. Noisecrime

    Noisecrime

    Joined:
    Apr 7, 2010
    Posts:
    2,005
    dman8723, zxkne and DragonCoder like this.
  5. unity_QJ7RazXzghZCzA

    unity_QJ7RazXzghZCzA

    Joined:
    Jul 9, 2021
    Posts:
    100
    Thank you to make your great asset free & open-source!
    Still using it and will use as long as I can.
     
    dman8723 and zxkne like this.
  6. zxkne

    zxkne

    Joined:
    Jan 27, 2016
    Posts:
    226
    Great to hear! Thank you for the kind words :)