Fix crash when loading ogre models due to changed lighting material
This commit is contained in:
parent
302ca00a3c
commit
e17375665d
@ -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…
x
Reference in New Issue
Block a user