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 Rezzolution · Nov 20, 2013 at 11:44 PM · shaderoculusoculusriftz-fightingz-buffer

Mesh Edges Flickering?

Hey guys! I'm hoping to get a little help with a problem I've been having with my project for quite some time now and can't seem to figure out how to fix... my problem is that I'm using a procedural city generator script in 3dsmax (it's called GhostTown), and it's great! But the problem is that many of the edges of the meshes after being imported are almost constantly flickering when in-game. I'm using the Oculus Rift and a multiple camera setup to try to reduce z-fighting buffer or whatever but it's just not seeming to fix it.. I've run out of ideas and nowhere on the internet have I been able to find a solution.. =/

Thanks for your time!

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
0

Answer by $$anonymous$$ · Nov 21, 2013 at 01:30 AM

It looks like you may be trying to eliminate a symptom and not the root cause.

You would normally see z-fighting when there are things drawn on top of each other using the same depth value. I would suggest examining your model and see if you have overlapping geometry at the edges of your mesh.

Do you see flickering when you use a single camera instead of the Oculus camera rig?

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 Rezzolution · Nov 21, 2013 at 06:32 PM 0
Share

Oh wow! I hadn't even thought to try that but sure enough with Oculus mode disabled it looks just fine! Can't say I'm sure exactly why though...

$$anonymous$$y Oculus setup is using 3 cameras at different depths - one with very low near and far clip values for the player layer, one very far for the sky layer, and one for everything else.. Any ideas on why this is all happening would be greatly appreciated!

avatar image $$anonymous$$ · Nov 21, 2013 at 11:58 PM 0
Share

Looks like something maybe going on with overlapping camera views.

Do you have both Oculus and non-Oculus cameras enabled at the same time? Do you have the same depth assigned to each camera? Even in the Tuscany demo, left and right cameras have different depth values.

If I understand correctly what you're trying to do, you probably need 3 separate Oculus camera rigs each having its own left/right cameras.

If all else fails, try asking here: https://developer.oculusvr.com/forums/

avatar image
0

Answer by rinkusaru · Nov 15, 2017 at 12:46 AM

Hi Did you able to find the solution to above problem I'm facing the same issue in oculus rooms and unable to found the permanent solution. Any help will be appreciated.

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

18 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Mesh z-fighting to itself 1 Answer

Dynamically alter shader parameters? 1 Answer

OVR Grabbable causes object to ignore OnCollisionEnter/Exit 2 Answers

Render texture above something else 1 Answer

Use old Oculus handling with Unity5 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