I was trying to use the “material” init property, inside Collada.load method, but it doesn’t seem to work.
something like:
loader = Collada.load("models/model.dae", { material: new WireframeMaterial(0xff0000, {thickness:1})} );
According to the API reference, this should overwrite all materials in the model.
Running into the files, I’ve found out that if you comment the line 293 inside Init.as, it work:
delete init[name];
Probably will cause some bugs though.
If anyone knows something further on this, please share!