hello there,
still learning the engine (but having lots of fun, thanks a lot for building this) and im making some tests. my last one is a wall that uses Lightning texture and has 2 pointlights (one at each side) at the same distance, but the wall is lit differently on each side.
with negative X:
with positive X:
http://i.imgur.com/1UVZs.png
the wall is positioned at x = 0.0f and has 0.0f width on the x axis.
lights code:
[java]
//light positioned at positive X:
PointLight sl1 = new PointLight();
sl1.setColor(ColorRGBA.White);
sl1.setPosition(new Vector3f(40.0f, 4.0f, 40.0f));
sl1.setRadius(45.0f);
rootNode.addLight(sl1);
//light positioned at negative X:
PointLight sl2 = new PointLight();
sl2.setColor(ColorRGBA.White);
sl2.setPosition(new Vector3f(-40.0f, 4.0f, 40.0f));
sl2.setRadius(45.0f);
rootNode.addLight(sl2);
[/java]
if i increase the positive x light in radius or intensity it starts showing, so i could just do that. but i need to understand why it isnt working now and the other one is when both are at the same radius and intensity/color.
thanks in advance!