Search Unity

Occlusion Culling Question

Discussion in 'General Graphics' started by normandguerin, Apr 9, 2016.

  1. normandguerin

    normandguerin

    Joined:
    Sep 1, 2014
    Posts:
    12
    I am currently using Occlusion Culling over a crowd in a stadium. It works very well but I wonder if there is a way to figure out on every gameobject if it is being culled or not. I thought it would appear as an unredered gameobject but it does not, it is shown as rendering. So is there a flag somewhere on the gameobject that tells me it is being culled or not?

    thank you
     
  2. deverolirc

    deverolirc

    Joined:
    Jan 19, 2014
    Posts:
    497
    I think you can select your main camera, and then do not maximize game view, split it so you can see the game/scene beside eachother, look around with your camera and look at the scene view and you should see things being culled!
     
  3. smd863

    smd863

    Joined:
    Jan 26, 2014
    Posts:
    293
    normandguerin likes this.
  4. normandguerin

    normandguerin

    Joined:
    Sep 1, 2014
    Posts:
    12
    deverolirc: ya i do that already. but this is visual what I wanted is a flag I can monitor with scripting.

    CaptainScience: Yep! Thats it. Thanks Man :)
     
unityunity