Hi,
I want to apply a post processing effect to a Camera with a culling mask set as Depth only.
My configuration is :
- Camera 1: renders the game, depth set to 0, culling mask set to SolidColor
- Camera 2: renders the UI, depth set to 1, culling mask sef to Depth Only
I’d like to apply a simple “Grayscale mode” shader (renders everything in grayscale) to the content of Camera 2 because I want this effect applied only to the UI.
But as the Camera 2 is rendered after the Camera 1, the post-processing effect is also applied to Camera 1’ content.
How could I do something as simple as this?
Thanks in advance for your help.