|
|
|
@ -41,6 +41,7 @@ import com.jme3.material.RenderState.BlendMode; |
|
|
|
|
import com.jme3.material.RenderState.FaceCullMode; |
|
|
|
|
import com.jme3.material.TechniqueDef.LightMode; |
|
|
|
|
import com.jme3.material.TechniqueDef.ShadowMode; |
|
|
|
|
import com.jme3.material.logic.StaticPassLightingLogic; |
|
|
|
|
import com.jme3.math.ColorRGBA; |
|
|
|
|
import com.jme3.math.Vector2f; |
|
|
|
|
import com.jme3.math.Vector3f; |
|
|
|
@ -646,6 +647,9 @@ public class J3MLoader implements AssetLoader { |
|
|
|
|
case SinglePass: |
|
|
|
|
technique.setLogic(new SinglePassLightingLogic(technique)); |
|
|
|
|
break; |
|
|
|
|
case StaticPass: |
|
|
|
|
technique.setLogic(new StaticPassLightingLogic(technique)); |
|
|
|
|
break; |
|
|
|
|
default: |
|
|
|
|
throw new UnsupportedOperationException(); |
|
|
|
|
} |
|
|
|
|