Hello,
We are using clipping polygons along with tilesets to show our own tilesets within the standard world terrain. We are using the clipping polygons underneath our tilesets since there are some overlaps happening with the terrain and our tilesets.
The issue happens when the tilesets get hidden when the camera is far away from the tileset. The clipping polygon does not get hidden showing an empty space where the tileset used to be.
The first pic is when the camera is close enough to the tileset for it to show. The second tileset is when the camera is zoomed out so the tileset is not shown, so the underlying clipping polygon is only shown.
We have a bunch of tilesets and clipping planes in the viewer.
There is probably a way for me to figure out the distance from the camera to the clipping polygon and remove the clipping polygon when the camera is the same distance away as when the tileset gets hidden. But is there a better way to do this?