Search Unity

Camera: How to clean only the screen, but not stencil?

Discussion in 'General Graphics' started by CGDever, Apr 27, 2018.

  1. CGDever

    CGDever

    Joined:
    Dec 17, 2014
    Posts:
    156
    Hello folks!
    I have a very simple question, but the answer is looking for half a day% |
    There is a camera and it should clean the screen, but not stencil.
    The "SolidColor" camera flag should help in this. But for some reason this flag cleans stencil, why???
    How to clean only the screen, but not stencil?