I made custom html element for markers in MapLibre, so they can show some data.
When I added terrain to map (amazon rgb terrain), it happened that markers change their opacity while camera is moving. By default it's 1 of course, but suddenly goes to 0.2. I can only suggest that while we move and scene being rendered again, MapLibre thinks that point is under the ground??
I coudn't find any mention of such problem with markers or places in docs about markers can change opacity because of terrain(
here is video demo of what happens https://www.youtube.com/watch?v=6zqEOcTH2Pw