#How to fix texture update issue on imported GLB.

7 messages · Page 1 of 1 (latest)

willow prairie
#

I've been trying to create an react application where user can import components into the editor and add some texture, SVG Layer and text layers over it and control their size, position and rotation of those layers. But when I tried to update an image on click. It's getting streatched.

knotty osprey
#

these should be decals not textures

#

if you are using decals and it gets stretched you need to rotate it properly

willow prairie
#

@knotty osprey Yeah sorry my mistake, its decal. Is it possible to select decal by click? Because I need to add multiple decal's on click over that cup and need to make changes on it. But I'm not sure how to do that. Can you share any reference for that. I just started with ThreeJs.

knotty osprey
#

you can click everything sure, but in the end it will come down to some vector math which im terrible at

willow prairie
#

Oh Okey. Let me try click. Thank you @knotty osprey .