Page 1 of 1
Change rendering order
Posted: 09 Nov 2021, 12:52
by Sybaris
Hi everybody,
we are using a runtime handles asset and we're having the problem that the handles are visible through the Noesis UI. Is there a way to change the rendering order and make the Noesis GUI draw over the handles - draw over everything else actually?
Regards and thanks in advance!
Günther
Re: Change rendering order
Posted: 10 Nov 2021, 14:59
by jsantos
If you are using the legacy pipeline (not urp nor hdrp) then you can use Camera Stacking (several cameras rendering to the same render target).
Re: Change rendering order
Posted: 10 Nov 2021, 15:46
by Sybaris
Thanks for your reply!
Hmm... we plan to switch to HDRP... :-(
Re: Change rendering order
Posted: 10 Nov 2021, 15:46
by Sybaris
How would I use "Camera stacking"? Any hints? Docs?
Re: Change rendering order
Posted: 10 Nov 2021, 16:01
by jsantos
Camera stacking is having multiple cameras rendering to the same render target. In one of the cameras you have the UI, so you can have control about the order.
https://blog.theknightsofunity.com/usin ... important/
Unfortunately, this won´t work with HDRP but we have plans to have something similar.
Re: Change rendering order
Posted: 10 Nov 2021, 20:25
by Sybaris
Thanks a lot! You saved my day! :-)
I've set up a second camera, put the Noesis script on it and set "Clear flags" to "don't clear" and "Culling mask" to nothing on the camera. Finally the depth of the noesis camera must be higher than the depth of the main camera.
Works like a charm!
Re: Change rendering order
Posted: 10 Nov 2021, 20:27
by jsantos
Happy to help : )