Jump to content

Terrain objects culling


Recommended Posts

the terrain switch off and on automatically wen camera angle if off occlusion culling system.. how to make gameobjects placed in that terrain to disapear too along with the terrain ?

Link to comment
Share on other sites

Hi @jonnytracker, skipping rendering of objects outside of the view of the camera is called "Frustum Culling". Unity does this always automatically, however it can be confusing because this is not visible by default in the scene view - the scene view will still show objects behind the game camera even though they are being skipped for rendering in the game camera.
It is possible to see the frustum culling in action, but you need to have occlusion culling baked for this, then activate the visualization for occlusion culling, please see this answer in the unity forums:

This of course raises the question why we still have an additional terrain culling script running in Gaia - we found by experimentation that deactivating the rendering for terrains which are outside of the camera frustum via script is a little bit faster than leaving the full terrain in for the regular frustum culling. 

Link to comment
Share on other sites

i have seen gaia spawned gameobjects culling before but in one of the project its not doing the action .. the spawned gameobjects via Biomes 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

  • Create New...