tentone / geo-three

Tile based geographic world map visualization library for threejs
https://tentone.github.io/geo-three/docs/
MIT License
651 stars 105 forks source link

Disable depth write and color write for MapView #63

Closed StrandedKitty closed 9 months ago

StrandedKitty commented 9 months ago

This PR disables depth writing and color writing for MapView instances. Even though the material is 100% transparent, it still writes depth data when rendering which can cause problems for other transparent meshes on the scene. I've also disabled color write to explicitly specify that MapView shouldn't be visible.

tentone commented 9 months ago

LGTM Thanks a lot!