Light - Need LightState?

Is LightState only for JME2 or JME2 and newer?

[java]PointLight lamp_light = new PointLight();



lamp_light.setPosition(new Vector3f(0, 1, 0));


Thats isn’t all, or?

In jme3 you dont have to handle with the states yourself, that is done by the engine.

But i must set the Material to “Lightening” that the ligth is visibile to walls etc. ?

Yes, your material has to be based on “Lighting.j3md” as in the tutorials that use lighting… or if you write custom shaders they just need to use the same uniforms.