Search Unity

Is it possible to reveal a layer using a mask ?

Discussion in 'Scripting' started by bali33, Jan 12, 2014.

  1. bali33

    bali33

    Joined:
    Aug 14, 2011
    Posts:
    232
    Hi guys,

    I was wondering if it is possible to display only a part of a layer based on other layer content - I mean, the second layer would play the role of a mask - like in Flash if you know it. Is it possible ? I ask for this with no idea how to achieve that - may be the concept of mask exists but it is not related to layers. When I make search about mask I only found answer about LayerMask but this is not the same thing.

    Thank you
     
  2. bali33

    bali33

    Joined:
    Aug 14, 2011
    Posts:
    232