Things are still rendered under the terrain?

For some reason I guess I thought a terrain object was some kind of magic carpet. Anything such as a huge 3D modeled cliff prefab that was embedded down into the terrain would somehow at run-time be lopped off and anything under the terrain would not get rendered and or calculated. However, after doing a little exploring with Occlusion Culling, I came to a pretty startling realization… I was wrong.

This is an image from my scene where I’m showing the visibility lines from my camera. IF I’m reading this image correctly, it shows that the entire cliff 3D models are being rendered under the terrain.

Am I correct in my realization?

I guess I also assumed that if part of a mesh was visible, but part of it was hidden, only the visible part would get rendered. I didn’t realize that the entire thing still got rendered.

I can see that the visibility line intersects with the cliff where the arrow is, I might have thought that only areas in the line of site were rendered, but, you can see that the entire cliff is rendered (again, even stuff under the terrain).

This has been an “Ah Ha” moment for me. :smile:

Occlusion culling only works on entire meshes. If you have to check for each triangle it takes more time to check than to just render it.

That makes since.