» 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 | 467 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

~6d ago

joreg: @beyon too bad. but from now on we have a fixed schedule: every 4th tuesday in the month! hope this helps to plan evvvveryones visits

~6d ago

beyon: joreg: ah, bad timing, I would be happy to attend but I doesn't look like it will work out

~7d ago

joreg: @beyon any chance you can add 2 days to stay? would be great to have you at the (not yet announced) #vvvv meetup on the 23rd!

~7d ago

~7d ago

beyon: I'll be in Berlin July 13-22 - anything interesting going on in that time frame?

~8d ago

~9d ago

joreg: moments later: admin fixed it. back to normal.

~9d ago

joreg: indeed. site broken. hope to get this sorted soon. sorry for the inconvenience.