I want to be able to highlight parts of a geometry, example highlight 1/3 of one of the box’s faces.
I looked at decals because of this threejs example, are there any other approaches?
I want to be able to highlight parts of a geometry, example highlight 1/3 of one of the box’s faces.
I looked at decals because of this threejs example, are there any other approaches?
You could generate a new geometry from the selection and then create a new mesh with a special material for highlighting.
Did you see that
https://hofk.de/main/discourse.threejs/2019/SelectFacesWithinRadius/SelectFacesWithinRadius.html
( examples 2019) https://hofk.de/main/discourse.threejs/2019/index2019.html
from the collection
Collection of examples from discourse.threejs.org
Maybe this approach will be also helpful: How to get the point index in the path of TubeBufferGeometry when moving mouse on the TubeBufferGeometry?