remove deprecated BasicShadowRenderer from TestFancyCar

empirephoenix-patch-1
Stephen Gold 7 years ago committed by Rémy Bouquet
parent 990791b21c
commit 99f4f20c75
  1. 6
      jme3-examples/src/main/java/jme3test/bullet/TestFancyCar.java

@ -51,7 +51,6 @@ import com.jme3.renderer.queue.RenderQueue.ShadowMode;
import com.jme3.scene.Geometry;
import com.jme3.scene.Node;
import com.jme3.scene.Spatial;
import com.jme3.shadow.BasicShadowRenderer;
import com.jme3.system.AppSettings;
public class TestFancyCar extends SimpleApplication implements ActionListener {
@ -90,11 +89,6 @@ public class TestFancyCar extends SimpleApplication implements ActionListener {
bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
// bulletAppState.getPhysicsSpace().enableDebug(assetManager);
if (settings.getRenderer().startsWith("LWJGL")) {
BasicShadowRenderer bsr = new BasicShadowRenderer(assetManager, 512);
bsr.setDirection(new Vector3f(-0.5f, -0.3f, -0.3f).normalizeLocal());
// viewPort.addProcessor(bsr);
}
cam.setFrustumFar(150f);
flyCam.setMoveSpeed(10);

Loading…
Cancel
Save