java script libraries that can help me get a percentage of a certain texture applied to a 3d model

Hello, I’m trying to get the percentage of “x” texture applied to a 3d model, this in order to quote prices depending on the applied texture, I’m new to three.js and I was hoping to see if it’s possible to do this or if there is any another library from which you can get these results

Do you mean how much of the total 3D model surface is covered by a particular texture?

library i don’t know but if you pair threejs with react it is simple due to the RenderTexture and Decal components: Using render texture through decals (forked) - CodeSandbox

2 Likes