When change camera Occlusion Culling not work, Why?

Hi all,

I m making a racing game, more than 2 camera in my scene.
I was successfully done Occlusion Culling in my project, When change camera with button Occlusion Culling not work.

I m using different camera in my scene for different different angles.

  1. So, my question is How to use Occlusion Culling with more than 2 camera in scene ?
  2. When change camera with button Occlusion Culling not work, Why ?
  3. Please give some solution

Thanks in advance

Occlusion Culling is limited to the camera tagged as Main Camera / Camera.main

Thank you so much Dreamora,

My problem is solved

Thanks

glad it helped :slight_smile:

Hi,

I have another problem with Occlusion Culling. Camera cull the road when road is already in camera frustum.

The Occlusion Culling is work properly but one place in my scene this problem is occurring. some slope in road.

  1. So, how can it possible ?
  2. Why camera cull my road when road is already in camera frustum ?

Please give some solutions

Thanks

Ensure that you don’t mark transparent / transparent cutout / nature object as static. perhaps you set the terrain or alike to static and now have a tree or a detail object with alpha in your view at the border this can lead to all kind of very bad problems

if you made any of them static, you will need to undo that and rebake occlusion

Thanks Dreamora,

I will follow you instructions and rebake occlusion

Thanks