- Home /
Multiple cameras, depths, and image effects!
Hi everyone,
I want to apply image effects to a camera that only renders distant objects. I then want to render my foreground objects without these image effects. I want to create the illusion that the scene is rendered by one camera.
By default, without fiddling with manual render calls, render textures, Blit(), etc, my foreground camera negates any image effects applied to the background camera. Given they represent completely independent depths, both intuitively and as defined by camera depth and culling layers, this seems like it should be trivial to achieve.
Can someone please take a look and give me something specific to try? Thanks!
Having taken explicit control over the whole rendering process, I've come up with a more specific question. It seems that all I need to do is have my foreground camera "clear" to the background camera's output. I realize this is automatic when the foreground camera is set to clear DepthOnly, but image effects applied to the background camera output are not preserved without some as-yet mysterious programmer intervention.
Think you have a solution? I'll polish and share my asset if I receive help that results in a working model!
Answer by Shkarface-Noori · Aug 31, 2013 at 04:16 PM
Use Tilt Shift images effect on the main and only camera, that's all for blurry background
Answer by Delcast · May 15, 2014 at 07:37 AM
Did you manage to get this done? I was having a similar problem and I'm currently writing a tutorial on how to do it ( I figured it out with much investigation. ) I'll post it when it's ready.
Your answer
Follow this Question
Related Questions
Using Graphics.Blit with the same source and destination 1 Answer
PLEASE DEAR GOD! ScriptableRenderContex.BeginScopedRenderPass 0 Answers
Image effects do not work when rendering with multiple cameras 0 Answers
Render a camera multiple times in a single frame? 1 Answer
Does Graphics.DrawMeshNow() block the thread until rendering is complete 0 Answers