shadowislord hace 11 años
padre
commit
b7ae8e6e3a

+ 1 - 1
jme3-core/src/plugins/java/com/jme3/scene/plugins/MTLLoader.java

@@ -221,7 +221,7 @@ public class MTLLoader implements AssetLoader {
             
         }else if (cmd.equals("d") || cmd.equals("tr")){
             float tempAlpha = scan.nextFloat();
-            if (tempAlpha != 0){
+            if (tempAlpha > 0.0f && tempAlpha < 1.0f){
                 alpha = tempAlpha;
                 transparent = true;
             }