Hi, I’m using threejs to create a heatmap with mapbox. I generated its vertices, faces, and vertexColors according to my data, pushing them into the geometry. After viewing the result in my browser, I found a problem.
when I viewed the heatmap from the front side, some parts(faces) of the heatmap mesh disappeared.
But when I viewed it from the back side, everything was right and nothing disappeared.
More and more faces began to disappear when I was changing my view to the front side, this is a process.
This is NOT a problem cause by material.side, it has been set to THREE.DoubleSide
I’ve tried several ways below to solve the problem, but they didn’t work:
1.change the near / far of the perspective camera
2.set material.depthWrite/depthTest to false
3.set mesh.frustumCulled to false
I’ll appreciate ur suggestion for me