Hi,
I exported a 3d tshirt model from blender and trying to create an app where users can customize colors and designs. I noticed that 3js colors are saturated and iway off from the hexcode that i have for colors.
Can you help
Hi,
I exported a 3d tshirt model from blender and trying to create an app where users can customize colors and designs. I noticed that 3js colors are saturated and iway off from the hexcode that i have for colors.
Can you help
Your color picker is probably returning values in sRGB, make sure that you specify them as such in three.js:
https://threejs.org/docs/?q=color#api/en/math/Color
If you’re using tone mapping (recommended for lit rendering, and on by default in R3F, but does mean the color picker selection does not map trivially to the rendered image) that would be a consideration that would change the result.
If you’re not able to get the result you expect after checking color space and tone mapping, it may be necessary to share code or a demo.