peterqliu / threebox

A three.js plugin for Mapbox GL JS, with support for basic animation and advanced 3D rendering.
MIT License
526 stars 320 forks source link

mapbox build layer will cover the threebox 3D modle #50

Closed vscchencc closed 5 years ago

vscchencc commented 5 years ago

Display the 3D building by mapbox . And use the mapbox custom layer to add thrrebox models. the tier has some problem.

image

image

change the config. The effect like this:

image

image

How to combine the mapbox 3D building with threebox 3D models.

peterqliu commented 5 years ago

@cc-ch thanks for the issue. can you make a test case? it might help if you add renderingMode: '3d' to the custom layer

AmeliaWang93 commented 5 years ago

Thanks a lot! Adding renderingMode: '3d' also help me solve the problem. When I add a obj file which contains many buildings, those buildings, which should be occluded, show in front of others.