* Fixed MTL loader bug when handling Tr/d statement

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7468 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
sha..rd 2011-05-08 17:10:13 +00:00
parent 8e5832f975
commit b0aae84707

View File

@ -132,7 +132,7 @@ public class MTLLoader implements AssetLoader {
else
color = new ColorRGBA(ColorRGBA.White);
color.a = scan.nextFloat();
color.a = alpha;
material.setColor("Diffuse", color);
material.setTransparent(true);
material.getAdditionalRenderState().setBlendMode(BlendMode.Alpha);