Trouble with multiple Render Targets and Cameras
I started having issues with a project where I have a complex render target chain that is not behaving as expected.
* Camera A uses a Post Effect Graph material to copy the device camera to a render target "Camera A Target"
* Camera B has a Post Effect Graph material on it and renders to "Camera B Target"
* Camera C has a Post Effect Graph material that only uses "Camera A Target" and renders to "Render Target"
* Render Target is the final target in the Scene Config.
The problem is that Camera B should not affect the final output at all, since Camera C (which is the only camera with an output to Render Target) should be taking it's only input directly from Camera A Target.
It's almost like everything is just sharing a single target, even though I explicitly deal in separate targets.
This repros on the preview window as well as iPhone XR.
Any idea what's going on?
-
it's hard to understand without example project but try to set different layer on each camera
Comment actions -
That didn't work either. Here's a minimum test project that shows the issue. Note that Camera A should be creating a Render Texture that Camera C should be using, and whatever Camera B does shouldn't matter.
https://drive.google.com/file/d/1ezLw_0apZkZxxoCjuoR2nrt-YR00_zXZ/view?usp=sharing
Comment actions -
I have Changed the Layers and it seems everything works fine
is that what you want ?
download the project files here
https://drive.google.com/file/d/17FU0gQIL75dmAG7_SFvH41uJEqWNAHbc/view?usp=sharing
Comment actions
Please sign in to leave a comment.
Have a comment?