Hello Guest

Author Topic: Inverse of depth mask.  (Read 3480 times)

tzamora

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 10
    • View Profile
Inverse of depth mask.
« on: November 19, 2013, 06:58:17 pm »
Hi, I would like to "inverse" the functionality of the depths mask, this means that instead of hiding the sprites when they are inside them, they show the sprite.

The idea is that the sprite is invisible, i cannot be seen normally. But, when it slowly enters the depth mask, it will reveal part of the sprite.

Is this posible with the current mask?

I think i've seen some of this functionality in the ScrollView of  NGUI. What it does is that the list only displays what is seen by this mask, any more than that will be clipped (I think is this what is called no?)

Thanks in advance, great great product.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Inverse of depth mask.
« Reply #1 on: November 19, 2013, 10:41:31 pm »
We don't support that directly right now. How we would create this is by drawing the inverse of it, you can build this by hand right now as well, just like its set up on the scrollable area.