-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
What happened?
The latest changes seem to have affected the way billboards are rendered, particularly when clamped to ground and on a top-down view. Once you start zooming in on the map, the billboard starts to flicker, parts of it get cut out and it can even disappear completely in certain cases.
If the camera is tilted in any angle this issue does not happen. As soon as you set the camera to top-down view again the same rendering problems are back.
I understand that setting the vertical origin property to BOTTOM should prevent the clamped to ground billboard from cutting out at the middle so, to make sure that the issue is not related to that, the example on Sandcastle includes verticalOrigin: Cesium.VerticalOrigin.BOTTOM.
This issue also seems to be more prominent on certain maps, therefore the sandcastle is set to use the Google satellite imagery.
Reproduction steps
- Add an entity with a billboard whose
heightReferenceproperty is set toCesium.HeightReference.CLAMP_TO_GROUND - As you zoom in on the map, the billboard will start to show rendering issues, cutting out parts of the image or even disappearing entirely
- Tilt the camera at any angle and the billboard is rendered again without any issues
Sandcastle example
Environment
Browser: Chrome
CesiumJS Version: 1.137
Operating System: Ubuntu