TextureRenderer & LightState


I'm currently playing around with the TextureRenderer. This works as expected:

public class Test extends SimpleGame
   private Texture fakeTex;
   private TextureRenderer tRenderer;
   private Node fakeScene;
   protected void simpleInitGame()
      cam.setLocation(new Vector3f());
      cam.lookAt(new Vector3f(0,0,1), new Vector3f(0,1,0));
      PointLight p = new PointLight();
      p.setLocation(new Vector3f(0,100,0));
      final Box dummy = new Box("dummy", new Vector3f(), 10,10,10);
      dummy.addController(new Controller()
         public void update(float time)
            dummy.getLocalRotation().multLocal(new Quaternion().fromAngleAxis(
               FastMath.DEG_TO_RAD * 10f * time, new Vector3f(0,1,0)));
      Node translation = new Node("dummy-translation");
      translation.setLocalTranslation(new Vector3f(0,0,40));
      fakeScene = new Node("fakeScene");
       // Setup our params for the depth buffer

PointLight pl = new PointLight();

Copy-paste error I assume :)

you're right, how embarrassing…://

thank you very much for the quick help