'applying svg image as texture to a mesh threejs

am creating t-shirt customization using THREEJS and trying to create dynamic change of the particular design's color using svg image and update the t-shirt model in threejs. am stuck in updating the color of the svg image,looking for suggestions and thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source