I need to do vertex displacements using a texture map in Three.js.
- Is there an existing material that supports that?
- If not, what is the best way to duplicate an existing Three.js shader so that I can add in some vertex displacement calculations? I would like to keep existing functionalities such as shadows and wireframe on the material.