Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: iclaus55 on December 04, 2013, 12:14:23 AM

Title: 3.0.6 f7 Default layer labels drawing in front of 3D objects
Post by: iclaus55 on December 04, 2013, 12:14:23 AM
It seems that after updating my current project with the new version of NGUI any labels that i had on the default layer are now rendering on top of any 3D objects I had. The pre upgrade of my project looks fine. Any Ideas?
Title: Re: 3.0.6 f7 Default layer labels drawing in front of 3D objects
Post by: Ferazel on December 04, 2013, 11:48:41 AM
If you're referring to pre 3.0 then yes, the panels are now z-space ignorant. And as such, they will always be rendered after all other objects in the scene. You might be able to hack it so that it uses the default 3000 render queue for these objects by making a shader as such.
Title: Re: 3.0.6 f7 Default layer labels drawing in front of 3D objects
Post by: ArenMook on December 04, 2013, 05:03:10 PM
Next version lets you explicitly set render queues on each panel, if you wish.
Title: Re: 3.0.6 f7 Default layer labels drawing in front of 3D objects
Post by: iclaus55 on December 04, 2013, 07:14:10 PM
That works for me, Thanks for the quick replies and constant support!

P.S, I have tried changing the shader render queue keywords to "Background" and still cant seem to get them to display right. anyway thanks again!