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 stan4u · Oct 29, 2014 at 03:37 PM · camerarenderingflickeringclipping plane

camera clipping planes flickering

I have a problem with setting camera clipping planes to get correct close and far rendering at the same time. For both a cockpit panel and the rest of the scene.

screen shot 2014-10-29 at 4.06.58 pm.png (404.5 kB)
Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by MrSoad · Oct 30, 2014 at 11:28 AM

You have to use two cameras. One to draw the cockpit, which will draw over the other which will render everything else.

This is a basic in video games; every single video game is made that way, for things like cockpits, icon displays etc.

You can have different settings for each cameras clip planes. This will hopefully sort out your issue :)

If you need a bit more info on how to set this up then take a look at my answer to this question :

http://answers.unity3d.com/questions/812451/how-to-operate-2-cameras-simultaneously.html

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 stan4u · Oct 30, 2014 at 11:37 AM 0
Share

yep, I was thinking about this at some point, but managing these two cameras is a bit clumsy in my case as there are several camera modes switching and additional camera is some coding overhead. But if there is no easier way I'll have to try this, Also in one of the modes I'm using stereocamera so main camera view is rendered onto render texture. I'm not sure how it would go if 2 cameras will render to same render texture but maybe it will work, will try that, thanks.

avatar image
0

Answer by Fattie · Nov 17, 2015 at 04:24 PM

You certainly have to use two cameras for this. It's a basic of video game development.

Every single Unity project (other than trivial test projects) uses many cameras. Enjoy!

Comment
Add comment · 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

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

[Solved] Object Flickering When Camera Moves Around 6 Answers

Part of mesh disappears on certain rotation angles in first person. 2 Answers

Camera image flickers with SteamVR 0 Answers

Camera flickers to black in build, but not in Unity 0 Answers

Is there any way to create a fade effect in order to hide what isn't rendered by the camera? 0 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