This commit is contained in:
shadowislord 2014-11-05 20:59:22 -05:00
parent a9d8faf39e
commit b7ae8e6e3a

View File

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