LightSpace is now defaulted to World for SinglePass

define_list_fix
Nehon 10 years ago
parent 7ab9798ad7
commit d662eadce9
  1. 4
      jme3-core/src/main/java/com/jme3/material/TechniqueDef.java

@ -176,8 +176,8 @@ public class TechniqueDef implements Savable {
if(lightSpace == null){
if(lightMode== LightMode.MultiPass){
lightSpace = LightSpace.Legacy;
}else if(lightMode== LightMode.SinglePass){
lightSpace = LightSpace.View;
}else{
lightSpace = LightSpace.World;
}
}
}

Loading…
Cancel
Save