(I’m using Unity 2.6.1)
The project I’m working on has a feedback that depends on an image effect, but the image effect will only be applied to specific objects in the scene.
To select what I want to render, I tryied using culling mask and setting the secondary camera to Depth Only. Depth only is almost what I want, but the problem is the object it renders will appear everytime no matter what, even if the object is behind a wall (I know this is useful in shooter games, but is now what the project needs).
How can I apply the Glow effect JUST to the red cube?
I don’t know if it’s even a field of view and/ or far clip plane problem.
Link to download the project: Dropbox - 404
What I want:
The Glow image effect being applied to only what the “Camera (Glow) (Render Layer: Red)” is rendering. That is, only the Red cube should have the Glow effect.
The problem:
One of the image effects of one of the 2 cameras will ignore the other, and I can’t selectively apply the image effect to a single object in the scene.