Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Cutout to background layer

Discussion in '2D' started by BobbyDoogle, May 7, 2017.

  1. BobbyDoogle

    BobbyDoogle

    Joined:
    Dec 3, 2013
    Posts:
    15
    I'm looking to make an effect where I only render a tiny piece of a large 2d background, like a cutout of it. I want to be able to move around this cutout, and see only the piece of the background below the cutout. There will be other art in the scene as well but that should be irrelevant. I'm drawing a blank on how to go about this, any ideas? Thanks in advance.
     
  2. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,713
    If the background is on the canvas (I think it only works there) you can try mask or mask2d.
     
unityunity