Fix crash when loading ogre models due to changed lighting material

This commit is contained in:
shadowislord 2014-11-10 23:30:59 -05:00
parent 302ca00a3c
commit e17375665d

View File

@ -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){