2DLight (DX11.Texture)
Author: | timpernagel |
Date: | 24 Mar, 2017 |
Category: | effect |
Credits: | Matt DesLauriers, timpernagel, mburk |
Download
64bit
Description
 Help-Preview_2017.03.24-17.33.37.png)
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!
Comments
Comments are no longer accepted.Please create a new topic in the vvvv beta forum to discuss this contribution.
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!