Jump to content

WorldOccluderTerrain Bug ?


photo

Recommended Posts

Problem

 

WorldOccluderTerrain shows unexpected occlusion behaviour within test scene. When moving through the scene sometimes geometry culling works as expected, sometimes it does not. Especially occluder pixels in the center of the scene do not always block backward geometry.

 

post-82-0-67937000-1290109339_thumb.jpg

 

Not sure if this is caused by an incorrect input occlusion mask, wrong setup or a real WorldOccluderTerrain bug. On position 2 there is no occlusion geometry visible within occluder debug texture.

 

Position 1: occlusion works (still there are some small polygons not occluded, reason unknown)

post-82-0-90777900-1290105750_thumb.jpg

 

Nearby Position 2: occlusion does not work at all

post-82-0-81090400-1290105757_thumb.jpg

 

Terrain occluder height data visualized as blue boxes (real heightfield occluder geometry is of course a little bit different, but box approximation should resemble general occluder layout). Occlusion data was build from this b/w mask, which was simply created from scenery top-down screenshot.

 

post-82-0-90176100-1290106181_thumb.png

Link to comment
×
×
  • Create New...