Me trying to clarify things is probably doomed to failure, but:
When you say ship.setMaterials({"foo.png": something }), it means replace the original model’s texture named foo.png with something.
Here, “something” is a material specifier. The simplest type of material specifier is { diffuse_map: "bar.png" }, which just sets the base texture and uses default settings for other material properties.
Me trying to clarify things is probably doomed to failure, but:
When you say ship.setMaterials({"foo.png": something }), it means replace the original model’s texture named foo.png with something.
Here, “something” is a material specifier. The simplest type of material specifier is { diffuse_map: "bar.png" }, which just sets the base texture and uses default settings for other material properties.
Thanks Ahruman. I think it worked that way unless my current boss confirms it did not work