I load a obj model and I want to give every surface different images. Firstly,I test one image.But it looks very small. Does anyone know how it is?
my code
I suggest you import the OBJ in Blender, apply your textures and then export the result as glTF
. If there are problems with UV coordinates, it’s much easier to fix this in a content creation tool than in code. You can use the following glTF
exporter.
Thanks for your reply.But I want to change the texture image dynamically.Is there any good idea?
Ah, I see. But you can still use Blender in order to verify if the uv coordinates are correct.