Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Fraeger · Nov 11, 2014 at 11:53 AM · 4.6worldspacepanel

Unity 4.6 GUI WorldSpace panel drawn on top?

Hello!

So I am using the new GUI to make Speechbubbles on my characters. I use a Worldspace Cavas with the panels on it and I would like to render those panels on top of my geometry.

I already tried some of the tipps I found in the Forum, but I can't seem to get it work.

There was one person that said I should be using the sorting layers, but I couldn't find any documentation on that and what I have tried so far hasnt worked.

Any help would bre greatly appreciated.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fraeger · Nov 11, 2014 at 11:41 AM 0
Share

Hello, I dont ever want those elements drawn under the geometry, no. If I understand you correctly, i basically duplicate my Camera, set it's depth to higher than my $$anonymous$$ain Camera, set the culling to only render the UI and assign that Camera to my panel, correct? If I do that, my whole scene only renders the GUI, so I must be doing something wrong

avatar image AlwaysSunny · Nov 11, 2014 at 11:48 AM 0
Share

That's exactly right! Also, any "higher than the background" cameras must have their clearing flag set to Depth Only.

avatar image Fraeger · Nov 11, 2014 at 11:51 AM 0
Share

Ah, that works perfectly :D Thank you so much

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by AlwaysSunny · Nov 11, 2014 at 11:36 AM

4.6's UI is referred to as UI - not GUI.

Do you ever want UI elements drawn below world geometry? If so, things can get tricky. If not, UI elements can be drawn by their own camera whose rendering order is later than the main camera, which is a preferred method wherever possible.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image McMayhem · Oct 15, 2015 at 04:18 AM 0
Share

How do you do this with image effects? Image effects get cleared when using this method. Bloom would still potentially work since it doesn't require depth, but SSAO would be completely unusable in that scenario. Is there a way to do this without losing SSAO?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

3D rotation of world-space canvas children 0 Answers

Dropdown box scrollable 4.6 0 Answers

How do I make a UI element in world space cover a game object in the scene? 0 Answers

Unity 4.6 UI change children color selectable 0 Answers

UIText Inverted When Looking At Camera 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges