O'Reilly logo

Virtual Reality Blueprints by John Williamson, Charles Palmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Occlusion culling

By default, Unity only renders objects viewable within the camera's field of view. This is called Frustum Culling and is very common in computer rendering. Occlusion culling is a feature where Unity disables rendering of GameObjects obscured by other objects.

The following image illustrates the difference:

Figure 5.6: Left: Normal scene, no culling Middle: Frustum culling, only objects within the camera's viewing cone are rendered Right: Occlusion culling, obscured objects are not rendered

Occlusion culling will not be needed for our simple scene, but larger game environments with many areas are often hampered by performance ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required