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

~4min ago

joreg: Please help yourself to the latest #vvvv gamma 2020.2: vvvv-gamma-2020.2-release

~3d ago

nodeforum: E-mail invitations for NODE20’s Festival Hub have been sent out yesterday. In case of trouble let us know via help@nodeforum.org

~4d ago

david: @neuston: email is going out very soon!!!

~4d ago

neuston: @sunep Thx, but I have checked the spam folder but could not fine any

~5d ago

sunep: @neustron have you checked your spam folder? Mine went to spam.

~5d ago

neuston: I've not received any activation email for Talque, after purchased tickets of NODE20 last week. Is it normal? just want to confirm.

~5d ago

boplbopl: @tonfilm nice!

~5d ago

tonfilm: The first #vl #stride screenshots are here! vl.stride-earlyaccess-screenshots #visualprogramming #dotnet @stride3d #creativecoding #vvvv #gamedev

~6d ago

udo2013: @systray27 thank you :)

~7d ago

systray27: @Udo2013> Wow that's beautiful!