# Box2D Lights - Simulate water

I have a libGDX project, in which I have a Box2D world, which is currently filled with some boxes as a terrain. I also added a DirectionalLight to the scene for simulating the Sun. I almost have the effect I'd like to achieve, but is there any way to let the light shine through the water more deeply than it does on the surface?

• That would work. Where the second world is for rendering light. Another option is to extend the code for DirectionalLight to ignore blocks with certain properties. – AturSams Feb 23 '15 at 8:32