Search Unity

Depth Mask effect?

Discussion in 'General Graphics' started by Nemox, Jan 19, 2016.

  1. Nemox

    Nemox

    Joined:
    Feb 16, 2010
    Posts:
    396
    At the moment I'm trying to set up a Render Texture with some kind of depth mask effect. Basically, I want the rendering camera to only render things behind the "Perspective" layer, cutting out all the foreground and anything else not directly underneath "Perspective" objects.

    How might I go about doing something like this?