jscastro76 / threebox

A Three.js plugin for Mapbox GL JS, with support for animations and advanced 3D rendering.
Other
562 stars 148 forks source link

BuildingShadows compatible with Mapbox v2 #370

Closed BranZhang closed 2 years ago

BranZhang commented 2 years ago

Vertex shader of fill-extrusion layer is changed in mapbox v2, so vertex shader of building shadow should be modified samely. Tested on Mapbox v1.11.0, v2.0.0, v2.2.0, v2.3.0.

image
jscastro76 commented 2 years ago

Thanks for contributing @BranZhang!! I was really stuck with this feature not being able to upgrade it to Mapbox 2.0!