Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by Jibbles · Apr 19, 2016 at 08:20 PM · vrfpsrendertextureframerate

Why would render textures lag the oculus and not the editor?

Hey guys, I've recently started developing with the oculus dk2 to create a first person driving simulation. I was using three cameras and three render textures for the rear view mirror and side mirrors. When the game runs with them on, the editor reads a steady 50 fps, no drops regardless of motion. looking through the oculus however it gets very choppy with low framerates. If the render textures are not active, the stats stay the same for the editor but the oculus runs smooth. Any ideas why the quality is noticeably different between editor and oculus? Or if not, any more efficient suggestions for mirrors? Thanks

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 Naphier · Apr 19, 2016 at 10:46 PM

50fps in the editor is probably too low in the first place. You need a fairly solid 75fps (if your monitor VSyncs at 60hz then check the attainable fps with vsync off, but turn it back on for the Oculus build). If the Oculus is getting less than 75fps it will frame skip down to 37fps or worse. You'll likely need to do a bit of optimization. Make sure the mirror camera's have appropriate fov and clipping places. You may be able to get away with a single camera and apply the render image from that to each mirror (just scale the UV and offset or add a special shader for the side mirror effects). beyond that, you'll need to work on your game's frame rate by making good use of static/dynamic batching. Or get a better rig :P

Comment
Add comment · Show 4 · 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 Jibbles · Apr 20, 2016 at 08:10 AM 0
Share

Actually, now that I have a moment to think about this, I found a problem with this answer. I was getting 50-60fps consistently regardless of the render textures on or off. It was only the oculus display that changed to a lower frame rate so it shouldn't be frame skipping because of any underlying fps numbers alone. Weird that it would effect the oculus fps but not the editor fps.

avatar image Naphier Jibbles · Apr 20, 2016 at 03:22 PM 0
Share

Is that with vSync on or off? If the application runs lower than 75fps then the Oculus will drop frame rate to 37. Have you actually tested the frame rate on the Oculus to tell if it is low frame rate?

avatar image Jibbles Naphier · Apr 20, 2016 at 03:27 PM 0
Share

Not yet, I will make sure I test the actual oculus frame rate next time I get access. Is vsync on by default or not? We didn't change it so I would assume it was on.

Show more comments
avatar image
0

Answer by Jibbles · Apr 20, 2016 at 12:35 AM

Fair call. Wasn't even paying attention to the base fps level ha. Cheers for the quick response. Optimization is needed for sure, the uni computers art the greatest.

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

Vive VR FPS Issue 1 Answer

VR character rotation not follow the camera 1 Answer

vSync for gameplay in monitor and VR headset in Unity not being consistent? 0 Answers

Slerp FPS gun rotation in VR 1 Answer

Camera.RenderToCubemap in VR has black edges 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