I am experiencing a maddening problem while trying to change the diffuse color channels using the Sketchfab Viewer API. I can change the anything that doesn't have the 3 length color array - for example the opacity factor is changing no problem with "materialToUpdate.channels.Opacity.factor = 0.5;". However if I try "materialToUdpate.channels.DiffuseColor.color = [1.0, 0.0, 0.0] nothing happens. I can also change the EmitColor no problem.
Any ideas what I might be doing wrong here? It's really bugging me!