-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Classification type ignored when depthTestAgainstTerrain is true #6568
Comments
This has always been a problem. The stencil shadow volumes use whatever is in the depth buffer so if terrain and 3D Tiles have been drawn with depth rites enabled, then the classification is applied to them. One solution would be to drawn terrain after 3D Tiles, but we would have the opposite problem. |
I don't know whether or not this is related, but the classification type also gets ignored if world terrain is used. |
BaseLayerPicker automatically enables |
Ah, alright. Thanks @mramato |
The classification type is
CESIUM_3D_TILE
. Whenglobe.depthTestAgainstTerrain
is true the polygon classifies both the tileset and terrain, as in the second image.Sandcastle demo
@bagnell could you check this out?
The text was updated successfully, but these errors were encountered: