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 ArcIo · Feb 26, 2013 at 06:12 AM · cameradepthclipping

Game view goes crazy (clear flags)?

I'm working on a game that uses NGUI for the obvious reasons. Everything was fine but when I loaded it up again, it looks like this:

alt text

It of course, should not.

I've isolated this down to the clear flag setting on multiple cameras. The higher depth cameras are set to "Depth Only" to allow for transparency. If I change that setting to a solid color it seems to work ok but then I can't see other camera views.

At one point I played with the clipping planes of the cameras, which fixed it in the game view but then when I played it, it went like this again.

I'm really at a loss. Any help would be great!

screen shot 2013-02-26 at 12.55.10 am.png (293.4 kB)
Comment
Add comment · Show 1
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 ArcIo · Mar 07, 2013 at 04:52 PM 0
Share

9 days and no suggestions? Anybody?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Statement · Mar 07, 2013 at 04:55 PM

Well, you need at least one clear call that clears the color buffer. Otherwise it could contain whatever stuff. If you clear depth only, then you won't get rid of the junk in there. Have you tried to clear with a transparent color?

Comment
Add comment · Show 2 · 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 ArcIo · Mar 07, 2013 at 05:06 PM 0
Share

camera depth 0 - solid color camera depth 1 - depth only camera depth 2 - depth only

Where would I set a clear all flag?

avatar image ArcIo · Mar 07, 2013 at 05:30 PM 0
Share

I currently have this.

$$anonymous$$ain camera is set at Depth Only Clipping plane is near 0.01 Far 1000

Camera 2: Solid Color (color is transparent) Clipping planes Near -2 Far 2

Camera 3: Depth Only Clipping Planes Near -2 Far 2

Camera 4: Depth Only Clipping Planes near -2 Far 2.

Everything looks good when i change these but as soon as I run it, it goes crazy again.

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

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How can I take depth into account when rendering to texture? 2 Answers

2D sprites in a 3D environment - undistorted without clipping 0 Answers

Scene View Camera Depth Texture? 0 Answers

How to make camera position relative to a specific target. 1 Answer

Fake crystal using render textures 1 Answer


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