Canvas Layer

I was trying to use the Camera LayerMask to hide all UI objects.
It seems Canvas objects will always render, even when on a layer that is disabled on the Camera.
Is there another way of doing this?

Original Post on Discord

by user 732122195614105653

I think the layer mask is currently not bubbled through to the UI objects that are actually rendering.

Would disabling the UI objects help?

Well, Iā€™m trying to have post-processing ignore UI objects.
My strategy was

  1. render scene pass (no UI)
  2. post processing passes
  3. render scene pass (UI only)
    Layers would be great for that.

by user 732122195614105653

I agree, that makes sense.