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

2DLight (DX11.Texture)

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 | 657 downloads

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


~2d ago

ravazquez: indeed!

~2d ago

schlonzo: kickass shader @evvvvil

~3d ago

evvvvil: "Reclaim the streets" - Winning shader live coded live at revision 2021 shader showdown semi final. https://www.shadertoy.com/view/fdSGWw

~3d ago

karistouf: sorry 3080 10G vs 3090 24go ?

~3d ago

karistouf: RTX 3090 24go or 3090 10go ar really doing difference ith textures and VVVV beta ?

~4d ago

joreg: and beta42 previews now include VL 2021.3.2: downloads/previews

~4d ago

joreg: bugfix release vvvv gamma 2021.3.2 is out: https://thegraybook.vvvv.org/changelog/2021.3.html

~10d ago

joreg: @soundreactor looks really odd. could this be some strict antivirus or firewall settings?