Sybaris
Topic Author
Posts: 32
Joined: 21 Feb 2019, 10:13

Change rendering order

09 Nov 2021, 12:52

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

Tags:
 
User avatar
jsantos
Site Admin
Posts: 3309
Joined: 20 Jan 2012, 17:18
Contact:

Re: Change rendering order

10 Nov 2021, 14:59

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).
 
Sybaris
Topic Author
Posts: 32
Joined: 21 Feb 2019, 10:13

Re: Change rendering order

10 Nov 2021, 15:46

Thanks for your reply!

Hmm... we plan to switch to HDRP... :-(
 
Sybaris
Topic Author
Posts: 32
Joined: 21 Feb 2019, 10:13

Re: Change rendering order

10 Nov 2021, 15:46

How would I use "Camera stacking"? Any hints? Docs?
 
User avatar
jsantos
Site Admin
Posts: 3309
Joined: 20 Jan 2012, 17:18
Contact:

Re: Change rendering order

10 Nov 2021, 16:01

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.
 
Sybaris
Topic Author
Posts: 32
Joined: 21 Feb 2019, 10:13

Re: Change rendering order

10 Nov 2021, 20:25

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!
 
User avatar
jsantos
Site Admin
Posts: 3309
Joined: 20 Jan 2012, 17:18
Contact:

Re: Change rendering order

10 Nov 2021, 20:27

Happy to help : )

Who is online

Users browsing this forum: Bing [Bot] and 1 guest