I’m having trouble loading a glTF 3D model into my scene.
It appears miscolored, very small & not scalable (i.e. if I try to gltf.scene.scale.set(x, y, z), it just disappears) and not even centred (gltf.scene.position(x, y, z) not having any effect).
The viewer automatically updates camera settings to optimal values based on the model’s dimensions. It also applies a HDR environment map which is probably missing in your app.
Try to move your camera more close to the scene and apply an environment map like in this example. Also use this line to configure sRGB color space conversion:
That’s right! It’s missing the environment map. Could you tell me how I should proceed to add it to the model’s texture? Like for example if I want to set the one they have, the ‘Venice Sunset’ one. I’ve tried digging into their source code but I can’t find the piece that’s responsible for it!