» 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 | 316 downloads
v1.0

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

Shoutbox

~10h ago

metrowave: @marlonossiliere, Win10 is fine, also see: best practices when using bootcamp

~19h ago

marlonossiliere: I have a Macbook pro mid 11, 13 inches, what windows is the best for bootcamp installation?

~2d ago

joreg: your 2017 numbers have landed: vvvv-in-numbers-2017 #vvvv #vl

~2d ago

joreg: final part of "vl for vvvv users" series of video tutorials is now up: https://discourse.vvvv.org/t/vl-for-vvvv-users-spread-of-spread-5-5/16028 #vvvv #vl

~4d ago

joreg: another one for the weekend: part 4/5 of: vvvv for vl users. all about loops: https://discourse.vvvv.org/t/vl-for-vvvv-users-spreads-vs-spreading-pt-2-4-5/16027 #vvvv #vl

~4d ago

joreg: one for the weekend: rc3 for beta36 is out: beta36-release-candidate #vvvv #vl

~5d ago

fibo: Wine v3 has Direct11 support https://www.winehq.org/news/2018011801