My UI is affected by camera effects. I set the Render Mode of the UI to “Screen Space - Camera” to do some kind of 3D effects based on the rotation of the Panels. But It get affected by camera effects. If I put the Render Mode to “Screen Space - Overlay”, if won’t get affected by effects, but I can’t have the same 3D effects with Panels. Does anyone know how to have a Canvas with Render More set to “Screen Space - Camera” which is not affected by camera effects ? Thanks for reading me
Edit: Solution: Add a second camera to your scene and put the “Culling Mask” to “UI”, and on your first camera, uncheck “UI” from the “Culling Mask”, and it’s done. Thanks to BoredMormon for the solution.
Hi, this is working, thanks But that sounds like a workaround, is that legit to use multiple cameras on a scene to render different parts ? That seems strange… Does that have any performance impact, because there is two camera, so basically two renderer and drawcalls x2, and so on…
It’s reasonably common practice. It typically doesn’t up the draw calls by much, you switch the layer masks around so that each object is only rendered by a single camera.
Alright, thanks for your help ^^. I’ll add your name in my credits as “UI debugger: BoredMormon” or something like this, if you want. I’ll put “[SOLVED]” in the title of the thread and put the solution in the first message, if someone has the same problem as me. Thanks for everything