google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.68k stars 799 forks source link

Invisible occlusion mesh ! #4785

Closed Bettole closed 1 month ago

Bettole commented 1 month ago

Discussed in https://github.com/google/model-viewer/discussions/2797

Originally posted by **dthery** September 16, 2021 Can we use the colorWrite property of three.js to create an invisible occlusion mesh that hides some areas of a model to make transparency? https://threejs.org/docs/#api/en/materials/Material.colorWrite

Please Help !