Arthur Bouchard

Results 5 comments of Arthur Bouchard

Hello, You should not require or include threejs yourself. There is already a three.js at **src/three.js** in threebox lib It's available via "THREE" (e.g.: `var cube = new THREE.Mesh(geometry, redMaterial);`)...

I've same problem with mapbox version > 0.54 Have you found a fix ?

There is more information in this issue: https://github.com/mapbox/mapbox-gl-js/issues/7395 peterqliu commented on 16 Nov 2018 > [...] The custom layer draws within the context of the 2D layer stack, regardless of...

You can add `gl.clear(gl.DEPTH_BUFFER_BIT);` in render() of layer in first position (before all actions in this function). But three objects will be always above buildings. After tests, CameraSync is the...