Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 sebas77 · Nov 14, 2013 at 03:59 PM · terrainoptimizationcullingocclusion culling

Terrain Occlusion Culling

Hi,

I'd like to know if Unity3D supports terrain occlusion culling, this means if objects behind hills are actually culled...if so I'd like to know if I have to do something manually to enable it.

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

3 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by GameVortex · Nov 14, 2013 at 05:41 PM

Yes, but it will only work with static objects. You will have to set your terrain and Objects to be Occlusion Static in the top right corner of the inspector and then Bake Occlusion for the level in Window/Occlusion Culling.

For dynamic objects, they will only be culled like normal when out of view of the camera.

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 sebas77 · Nov 15, 2013 at 10:38 AM 0
Share

it's really a shame that the dynamic objects are not culled

avatar image gajdot · Nov 15, 2013 at 10:43 AM 0
Share

I believe they can be culled too with unity pro( which you are using anyway if you are using occlusion culling) This tech demo video shows it around 2:30 http://www.youtube.com/watch?v=S5l3unhW4e0

avatar image sebas77 · Nov 15, 2013 at 10:49 AM 0
Share

all right, I use unity PRO...how can we be sure about it?

avatar image gajdot · Nov 15, 2013 at 10:52 AM 0
Share

In the scene view you can visualize the occlusion culling, by enabling it trough the occlusion culling window.

avatar image
0

Answer by Ericool · Jan 09, 2015 at 11:56 AM

For dynamic occlusion look for occlusion area tutorials

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 hangarter · Feb 22, 2021 at 05:11 PM

I know it's an oldie but today I was stuck on this!

Here we go: there's a "Dynamic Occlusion" checkbox on any Rendering component (enabled by default). So all you have to do is select all Static objects you want Unity to consider as Occluders (the ones blocking) and do a Bake on Window/Occusion Culling. Once you do that, any Occludee (Game Object that's not static) that has the checkbox "Dynamic Occlusion" checked on their Renderer component will be hidden accordingly during runtime.

alt text

Reference: https://docs.unity3d.com/Manual/occlusion-culling-dynamic-gameobjects.html


screenshot-2021-02-22-at-170539.png (100.8 kB)
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

20 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

Related Questions

Detecting if object is Umbra culled 1 Answer

Make a simple tree 1 Answer

Freeze on destructible terrain. 0 Answers

Wind Zone Best Practices: Less is more? 0 Answers

LOD system with Partial object culling? 2 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