experimental
shadowislord 10 years ago
parent a9d8faf39e
commit b7ae8e6e3a
  1. 2
      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;
}

Loading…
Cancel
Save