From d662eadce96f853617c75f7f99a982f7918f407a Mon Sep 17 00:00:00 2001 From: Nehon Date: Sat, 21 Mar 2015 12:09:06 +0100 Subject: [PATCH] LightSpace is now defaulted to World for SinglePass --- jme3-core/src/main/java/com/jme3/material/TechniqueDef.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jme3-core/src/main/java/com/jme3/material/TechniqueDef.java b/jme3-core/src/main/java/com/jme3/material/TechniqueDef.java index 6f129c958..ad16ae8fb 100644 --- a/jme3-core/src/main/java/com/jme3/material/TechniqueDef.java +++ b/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; } } }