Hi,
I’m having troubles playing with multiple cameras…
I want my scene to have an outline postprocess, but I also need to exclude a few meshes from this postprocess.
My idea would be using two cameras parented, one with post process attached, and the other without postprocess rendering layermask 0x10000000.
Then giving this 0x10000000 layermask to the few meshes I want to render without postprocess.
It works, the only issue is that my cameras will not share their depth buffers, and the second is always rendered on top. Can I have them share it ?
(blue cube is rendered with no postprocess, surrounded by red balls)
Maybe there’s another way to do it ? I need to stick with the outline coming from postprocess (instead of geometric outline with mesh properties) because most of the outline constrast will come from lightning or textures.
Thanks a lot for your input ! Have a nice day