Fix crash when loading ogre models due to changed lighting material

experimental
shadowislord 10 years ago
parent 302ca00a3c
commit e17375665d
  1. 2
      jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/MaterialLoader.java

@ -338,7 +338,7 @@ public class MaterialLoader implements AssetLoader {
// rs.setDepthWrite(false);
mat.setTransparent(true);
if (!noLight){
mat.setBoolean("UseAlpha", true);
// mat.setBoolean("UseAlpha", true);
}
}else{
if (twoSide){

Loading…
Cancel
Save