When I use the 101 version, there is no problem
But when I upgraded to version 102, some problems occurred
The rendering face of the geometry is incorrect. I have to set the side of the material to THREE.BackSide
The geometry can now be rendered correctly, but the direction of the SpotLight light is completely reversed.
The top surface did not receive any lighting effects
I didn’t find the information I wanted about release log and Migration-Guide.
My map object and three camera sync code,
Change the camera’s matrix and projection matrix
const map = this.getMap(); this.camera.matrix.elements = map.cameraWorldMatrix; this.camera.projectionMatrix.elements = map.projMatrix;
Complete code repository: https://github.com/maptalks/maptalks.three
I need a help, thank you all.