Help in lighting


I’m new at this, but I’m making a game which includes a maze,so In this maze I am having a light on one wall which makes its texture visible, and darkness on the wall opposite to it rendering me unable to see its texture,this is happening all over the scene. what should I do?

this is the light management code of my game:

private void setUpLight() {

AmbientLight al = new AmbientLight();



DirectionalLight dl = new DirectionalLight();


dl.setDirection(new Vector3f(-2.8f, -6f, 3f).normalizeLocal());



hope it helps, thank you in advance for your support

Since your ambient light is already more than white I guess the directional light makes the one side “over shine”? Also are you sure the normals of your walls are correctly pointing inside?