[Solved]MTLLoader bug in revision 7513


I found that MTLLoader in revision 7513 has a bug. And I wrote a patch.

This problem is to reset ambient, diffuse and specular parameter each resetMaterial method called. So these parameters is ColorRGBA.Black anytime.


Ah I see … Calling material.set***() only sets the reference, it doesn’t copy the data.

Fixed in SVN

Thanks !