2014-02-10

i used this tutorial https://github.com/mattdesl/lwjgl-basics/wiki/2D-Pixel-Perfect-Shadows to make my shadows. I think its a pretty nice and easy method.
I render all my shadow in a Framebuffer and then I invert it:



After Invert:



And now i want to show some bit of the walls. But im not sure how. I tryed to use the
framebuffer with the lights and scale it a bit. And then draw the walls with blending.
But it's looking not realy good. Are there some better ways?



I use libgdx.

Show more