» 2DLight (DX11.Texture)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

2DLight (DX11.Texture)

effect light dx11 TextureFX shadow
Credits: Matt DesLauriers, timpernagel, mburk


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!


2DLight (DX11.Texture).zip
24.03.17 [17:35 UTC] by timpernagel | 332 downloads

guest 24/03/2017 - 18:19

cool one! tried to port that thing few years ago and got nowhere.. thx for sharing

velcrome 24/03/2017 - 23:45

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"?

jawww 25/03/2017 - 07:14

looks great, will check it soon! thx!

anonymous user login


~1d ago

elio: intermediate engineering (hamburg) is hiring: Programmer for Media Installations https://dasauge.de/jobs/stellenangebote/fest/e488192

~3d ago

joreg: one more release candidate for beta36: beta36-release-candidate please test and report #vvvv

~3d ago

stephan_grosse8: we are offering a permanent position for a vvvv programmer. Main focus is on interactive exhibits. mail: stephan@grosse8.de

~4d ago

joreg: @eglod: if not, we're doing something wrong... but did you check any of the other timeline options? animation

~4d ago

andresc4: Sometimes people finalize a project and can donate a good amount that month, but nobody knows what will happen on the next one :D

~4d ago

andresc4: @vux as @eno say, I think a 1 time payment of any given value its a good option also

~4d ago

ggml: where id the vl search algorythm implementation discussion?

~4d ago

eglod: @ catweasel, o.k. may be, I have to learn vl. Thank You catweasel! Is this possible with 84 years, what think You?

~4d ago

catweasel: I guess part of the issue, is payment is $ which means transaction fees on every payement will add up!