» 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

about

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!

download

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

guest 24/03/2017 - 19:19

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

velcrome 25/03/2017 - 00: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 - 08:14

looks great, will check it soon! thx!

anonymous user login

Shoutbox

~13h ago

StiX: @synth you sauin something about 420? if mangosh gets confirmed i am coming with him as we are in one ... package

~1d ago

synth: @evvvvil here only to do lasers, they don't let me near the screens after last time ...

~1d ago

evvvvil: hahaha yes, please sir, can I have some more sir? Hopefully me and you be battling for visual space soon, GTFOH with your lasers.

~1d ago

synth: BTW - Got 4 20w Kvant lasers here thinking of testing the ILDA nodes live :)

~1d ago

synth: @evvvvil Hell yeah! Couldn't get Vux drunk but your going to get it :D

~1d ago

evvvvil: @synth: hopefully I should be going to GEM FEST soon, not confirmed yet, but if so, beer is on you why not ;) (and me ok)

~1d ago

synth: BTW any vvvv guy coming to Georgia for GEM Festival shout out I am here for the entire thing alone. Some beer on me ;)

~1d ago

synth: @dominikKoller perfect! Count me in :)

~2d ago

dominikKoller: @synth I am! It's going to be donation/ based (or sponsored by someone) though :)

~2d ago

dominikKoller: @joreg I found it, my FF has flash disabled (by default), and those are old embeds that still use flash.