- Home /
3D GameObject in front of Canvas.
Hello, I have a 3D object that I want it to display above the UI Canvas... is there any way to achieve this without changing the Canvas render mode? ( I have it set on Screen Space - Overlay and will change it as a last option)
Maybe with some layer options? Thanks.
Use Render $$anonymous$$ode "Screen Space - Camera" and render to 2 different Cameras. One for UI and second one for additional geometry.
Answer by Malleck666 · Oct 25, 2017 at 08:56 AM
Have you had a look at Render Textures?
https://docs.unity3d.com/Manual/class-RenderTexture.html
Using a render texture it is possible to have your 3D object somewhere hidden in the scene with a camera facing it, rendering to a texture on the UI.
Actually I was just thinking about that, don't know though about perfomance cause I'm working on Android tablets. Thanks anyway!
Your answer
![](https://koobas.hobune.stream/wayback/20220612141809im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to deal with many buttons in the Inspector 1 Answer
Mouse Movement on z-axis 0 Answers
Problems with to many buttons 0 Answers