A module to generate a light/shadow-texture based on a 2D texture-input.
Ported from a super well documented OpenGL version by Matt DesLauriers:https://github.com/mattdesl/lwjgl-basics/wiki/2D-Pixel-Perfect-Shadows
Check out the link for deeper information about the used techniques.
Make sure to use it with the latest DX11-pack and have fun!
cool one! tried to port that thing few years ago and got nowhere.. thx for sharing
this is so cool, I feel instantly reminded of indie games
going down that rabbit hole, could one employ a similar pixelshader technique to render a angular field of view for each "light"? so as to check, if a certain pixel is in view of any one "light"?
looks great, will check it soon! thx!
anonymous user login