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 SirBedlam · Sep 15, 2012 at 04:16 PM · objectsmovingocclusion cullingarea

Can't get occlusion culling to work

I'm quite new to occlusion culling, so I have no idea how to set it up. I looked through the docs on it, and I'm trying to use the feature on moving objects. I can't mark anything as static, because there are TONS of doors in my level that need to be able to rotate, and it would take me days to go through and make everything BUT the doors static. My problem is that after I set up the occlusion area, nothing happens. Nothing gets culled at all. I tried baking, but it gives me an error saying I need to mark objects as static, which I can't do in this case. I tried selecting "Visualize" in the drop-down menu in the little occlusion culling box in the scene view, but that button is grayed out, and I can't select it. Also, the few videos I've found demonstrating this feature use an older version of it, and some of the buttons don't even exist anymore. Everywhere I look on the internet, I can hardly find ANYTHING on occlusion culling. This is getting to be very frustrating... Can someone please just help me figure out how to add occlusion culling to moving objects? That's all I've wanted this whole time, but Unity seems to like making everything as difficult as possible.

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

4 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Brice31 · Dec 10, 2012 at 04:03 PM

The Occlusion Culling system is not working for me. I set up occlusions areas, occluders and occludees as said in Unity's doc. After baking, I don't see any occlusion culling in Visualization mode, only frustum culling. Does anyone has the same thing ?

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

Answer by Dreamora · Sep 16, 2012 at 12:39 PM

  1. Occlusion culling is Unity pro / iOS Pro / Android Pro only

  2. Occlusion culling requires you to calculate them and it requires the object that act as occluders to be marked as static occluders. After you setup the scenes,open the occlusion culling editor and bake it

  3. Thats basically it

as you use doors you might want to use the oc storage and calc mode that offers portals so you can place portals where you have doors which you open/close through code

Anything related to occlusion culling is in the documentation. More isn't required as there is not more to really know about it. Its static occlusion culling thats offline calculated in the editor and thats not streamable (means its only available in the scene loaded through LoadLevel / LoadLevelAsync, you can't load it additively nor will it update as you modify static objects etc)

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

Answer by DesiQ · Sep 16, 2012 at 01:12 PM

May I suggest a possible alternative to precomputed OC? It's a technique I made that uses raycasts to adjust the far plane of the view frustum so that I could use frustum culling as improvised occlusion culling.

I don't know how useful it will end up being to you, but if you're having a lot of trouble with Unity's built-in OC, then this might be worth a shot.

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

Answer by Griffo · Sep 16, 2012 at 01:36 PM

Go to Occlusion, Occlusion area and create new, now resize the area to cove what you want to cull and bake, as an Occlusion area will cull moving objects.

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

13 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

Related Questions

Destroy is not working with moving objects 1 Answer

Why my area object is bigger than my object ? 1 Answer

Moving multiple objects independenty on mobile using touchscreen 2 Answers

Occlusion culling problems 0 Answers

How to use mesh collision for moving external object? 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