I have type of light in my game that needs to penetrate all obstacles, how can I achieve this?
I tried this:
final short IGNORED = 0x001;
FixtureDef fd = new FixtureDef();
fd.filter.categoryBits = IGNORED;
fd.filter.groupIndex = IGNORED;
fd.filter.maskBits = IGNORED;
new PointLight(rayHandler, 1000, Color.CYAN, 1000, 200, 400);
PointLight.setContactFilter(IGNORED,IGNORED,IGNORED);
but I still get shadows from that light.
Another thing is that my shadows are black and continue forever, is there a way to create shadows that arent so dark and long?
Basically this is what I get:
but this is what I want: