Hey @Prashant_Tukadiya, you’d likely want to combine both a CSG addon such as three-mesh-bvh as well as a custom shader to detect the depth of intersection in complex models like this, there was a thread discussing this previously, the following demo may be of use…
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Color intersections of geometries | 3 | 419 | March 20, 2024 | |
| How to highlight the contact area between two buffergeometry Mesh (or else two stl objects) in Three.js | 0 | 515 | October 5, 2021 | |
| Color mapping intrusion depth onto the mesh | 12 | 2223 | February 20, 2023 | |
| Vertices missing on csg intersection | 5 | 151 | August 26, 2024 | |
| How to check the material of a merged three.js cube? | 2 | 484 | April 22, 2021 |