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

~2d ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~2d ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~10d ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~12d ago

~13d ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~17d ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~17d ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~24d ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~1mth ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/

~1mth ago