Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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
1
Question by Mehrdad995 · Jul 06, 2015 at 06:07 PM · androidperformanceocclusion culling

Occlusion culling kill the FPS on Android

Hi.
I don't know why but it seams that baking/having occlusion culling on android not only doesn't improve performance but it gonna kill it.
I have tested it with my game(the OC is definitely applied to track model which is static)
the game is a racing one with pretty high graphics(around 231 DCs without AI, UI, Skybox)
the interesting part is whenever there is an occlusion culling on the scene the frame rate goes down up to 9Fps(with 194 DCs).
no matter what the device is its almost the same.
on Xperia mini with only one CPU core it has the frame rate of 9 however with HTC desire 620G (octa-core 1.7Ghz CPU) I only get 12.
frame rate keep the same even if i totally hide game objects or destroy them or reducing resolution and only seems to be solved when i build the scene without occlusion culling integrated (in this way Fps on Xmini is 17with all objects visible and 31 with all track objects invisible).
so it must be due to occlusion culling.
what would you recommend to have a acceptable fps while still using the occlusion culling benefits?
is it a better way to ignore having OC but use LOD to hide small objects while they are far away?

thanks in advance for any suggestions.

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 _Gkxd · Jul 06, 2015 at 08:04 PM 0
Share

Does the same FPS drop happen when you run it inside Unity on your computer? If so, I suggest running the profiler to see what is taking up the most time when you switch occlusion culling on.

avatar image Mehrdad995 · Jul 08, 2015 at 12:23 AM 0
Share

@_Gkxd thanks for your respond. yes that happen even on editor but isn't sensible enough to be caught due to cpu power. recently i was all playing with settings and figured out that there should be a balance between CPU & GPU usage. occlusion culling is a solution while you have too many heavy shadered drawcalls which will cause a GPU bottleneck. in this way u can use OC to remove some of DCs by adding a little bit more task on CPU. i think OC use some raycast like functions which is CPU wise. anyway with my understanding this is a better way to use only frustum culling and LOD base culling on small object to increase performance at least on mobile which most of the time the CPU has a bottleneck Not GPU.

avatar image Mehrdad995 · Jul 12, 2015 at 02:09 PM 0
Share

O$$anonymous$$G 5 days of tweaking and trying other approaches but no hope. I think that I have no way except writing my own Occlusion Culling system which is based on triggers.
so whenever the player enter a trigger all corresponding mesh filters get enabled and vice versa.
what do you think? is it such a workable and worthy approach?

0 Replies

· Add your reply
  • Sort: 

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

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

Related Questions

Occlusion culling for flight sim 0 Answers

Mobile game - should I reduce my vertex count? 1 Answer

How to increase Android Performance? 1 Answer

Very slow game startup on android. 1 Answer

How to speed up my building Process for my 3D game? 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