Replace Material Textures on an Imported GLTF Object

Hello!
What would be the best way to replace the textures on a material of an imported GLTF object? I’d like to use a lightprobe as the reflection map for an imported object.
Thank you!

You will need to get the material (use scene.getMaterialByName for eg). Once you have it, you can change any of its properties (like the reflectionTexture).

1 Like