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. Dismiss Notice

Image mask

Discussion in '2D' started by UniPixel, Dec 23, 2014.

  1. UniPixel

    UniPixel

    Joined:
    Dec 23, 2014
    Posts:
    8
    Hello everyone!
    What's the best and most correct way to create an image alpha mask, that can be shaped by geometric manipulations in Unity 2D?
    Example:
    I have an image:
    cat.png
    and array of points. I need to cut that image by drawing geometry from those points:
    cat_1.png cat_2.png
     
  2. UniPixel

    UniPixel

    Joined:
    Dec 23, 2014
    Posts:
    8
    No ideas at all?
     
    Last edited: Dec 28, 2014
  3. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    I'm not a coder but I think a 2D boolean operation would be a good starting point for research.
     
  4. PoL231

    PoL231

    Joined:
    Jun 27, 2014
    Posts:
    148
    Hey there!

    If you still searching for some masking system, you can try Sprite Mask.

    It is a new asset at the store (released today). Maybe it can be helpful for you.