While searching for a way to occlude an object behind the hills of an invisible terrain mesh I came across the OcclusionMaterial. But I haven’t been able to get it to occlude anything. All that ends up happening is that the mesh the material is applied to disappears. Do I have to do anything to the occluded object?
For the life of me I can’t figure out what I could be doing wrong. Is this confirmed to work? I know it is a relatively new feature.
Any help would be appreciated. Thanks!
using away3d-core-fp11_4_1_4.swc