Hi,
I’m using Box2DLights, but no Box2DBody’s - my issue is, when I have two point lights say next to each other, the lights merge together and causes them to almost become solid so the transparency disappears so to speak.
Here is a link to an image of two lights I’ve placed near each other:
Code is:
light.pl = new PointLight(rayHandler, 50, Color.CYAN, 500, camera.position.x, camera.position.y);
I’ve set RayHandler up as follows:
rayHandler = new RayHandler(this.world);
RayHandler.setGammaCorrection(true);
RayHandler.useDiffuseLight(true);
rayHandler.setAmbientLight(0);
rayHandler.setShadows(false);
rayHandler.setCulling(true);
All I can think of is not allowing lights to be placed so close together, but this is a fudge…
Any help is much appreciated.
Thanks