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
2
Question by Steven-1 · Mar 15, 2012 at 10:22 AM · occlusion culling

Is it better to use 1 big occlusion area, or several smaller ones

For a racetrack level, would it be better to use multiple areas that closely match the track, or is it better to just use one big area that covers all.

From my tests it appears to be better to use 1 big area, but I'm confused as to why it behaves this way, I mean I can expectmultiple small ones to be more expensive, but not that it would actually cause the culling to be worse (which seems to be the case).

I posted this (and other questions) in the forums, but got no response: http://forum.unity3d.com/threads/127503-Some-questions-on-Occlusion-Culling-in-Unity

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

Answer by rutter · Mar 16, 2012 at 03:25 AM

As I understand it, larger occlusion areas require more time to bake, and may add some (probably light) memory overhead at runtime. Cameras will only benefit from occlusion culling while they're in one of those areas, though. It seems like a pretty straightforward trade-off: you can save baking time by using smaller areas, but doing so takes more time to configure and is slightly more prone to errors.

I would guess that it's far more important to consider the size of cells within your occlusion areas. Larger cells have less CPU overhead, but smaller values produce more accurate culling. Unity recommends that you try to find a good balance between cell size and the size of objects in your scene -- in particular, that ideally you should try not to have too many objects which are larger than your cells.

More than anything, though: play with the settings, and see how it works for your game.

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 Steven-1 · Mar 19, 2012 at 08:24 AM 0
Share

the problem is that I have set the cell size to the smallest value possible, namely 1, and the memory limit to it's maximum. But when I bake the OC, the resulting cells are a lot bigger then 1 unit. So I had hoped using multiple small areas would result in smaller cells, seeing as the entire combined occlusion area voulume is a lot smaller then, but this doen't seem to be the case, the cells are even bigger than before. Also, In some more open places, the cells are even bigger, sometimes so big pretty much nothing is culled. Anyway, baking time is not in issue, as it strangly takes almost no time to bake (about 1-2 hours for a big level). This all doesn't make much sense to me.

avatar image
1

Answer by Nabeel Saleem · Dec 01, 2013 at 07:42 PM

I think multiple occlusion area is good, In bootcamp example i saw multiple areas ,

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

6 People are following this question.

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

Related Questions

Scaling an occlusion culled mesh 1 Answer

Occlusion Culling still not running smooth... 1 Answer

Manually Occluding - frustrum area? 1 Answer

3d Text culled via occlusion culling? 0 Answers

Object is getting culled even though it's not Occluder/Occludee static? 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