Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Occlusion confusion - could use a quick explanation!

Discussion in 'General Graphics' started by oglepole, Mar 10, 2015.

  1. oglepole

    oglepole

    Joined:
    Jan 25, 2014
    Posts:
    17
    Hey all, I was searching around the forums but could not seem to find a decent explanation for what I am seeing. Its probably not even a problem - just me failing to understand the issue.

    I am trying to understand occlusion culling so I started with a terrain and some cubes. I set the cubes one behind the other (so that the largest is in front and a super tiny one is in back. I make sure to set everything to Occluder/occlude static and bake. Good so far.

    Now here's my confusion - when I test this with my cubes it only slightly works. When I move super close up to the largest cube in front with my camera, then everything behind it occludes perfectly fine - so it is working some what! But once I back the camera up just a little bit - nothing occludes behind? Its not like the cubes(which are super shrunk) behind it are anywhere NEAR being seen either, despite me backing the camera up a bit. Am I just missing something really obvious here?
     
  2. oglepole

    oglepole

    Joined:
    Jan 25, 2014
    Posts:
    17
    Also attached are just 2 simple pictures to better show what I mean. The first image is me very close to the cube, the second is me a bit further out. Again to clarify, I am no where NEAR seeing the smaller cubes in the back at this distance.
     

    Attached Files: