lighter: another lib for light and shadows

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
Alexar
Party member
Posts: 168
Joined: Thu Feb 05, 2015 1:57 am
Location: Chengdu,China

lighter: another lib for light and shadows

Post by Alexar » Fri Dec 14, 2018 9:34 am

This lib is an implement of the contents from page https://ncase.me/sight-and-light/
Just have a try. :awesome:
GIF2.gif
GIF2.gif (3.1 MiB) Viewed 1524 times
GIF.gif
GIF.gif (5.91 MiB) Viewed 1524 times
lighter.love
(2.98 KiB) Downloaded 77 times

User avatar
Sir_Silver
Party member
Posts: 285
Joined: Mon Aug 22, 2016 2:25 pm

Re: lighter: another lib for light and shadows

Post by Sir_Silver » Fri Dec 14, 2018 12:12 pm

Pretty neat, I remember I looked at that article and had a lot of trouble trying to understand what it was saying and implement it myself, so props for doing it.

I noticed some problems when using the .love you posted that, like the light not behaving in a way you might expect it to. I think it would be really cool if you continued to work on it and make it something fully fleshed out, I would love to be able to use a light library that performs well and is easy to use.

User avatar
Alexar
Party member
Posts: 168
Joined: Thu Feb 05, 2015 1:57 am
Location: Chengdu,China

Re: lighter: another lib for light and shadows

Post by Alexar » Mon Dec 17, 2018 2:51 am

updated, fixed some bugs.
i ignored this condition : polygons in the world intersect each other should make new nodes for the rays.
GIF.gif
GIF.gif (2.49 MiB) Viewed 1431 times
lighter.love
(6.12 KiB) Downloaded 70 times

User avatar
rudiem
Prole
Posts: 1
Joined: Tue Jan 29, 2019 7:07 pm
Location: Springfield

Re: lighter: another lib for light and shadows

Post by rudiem » Wed Jan 30, 2019 10:41 am

Good implement. And thanks for updates. I just had some bugs with functions (perhaps this is my personal problem), but now everything seems to be ok. I would like to know where I can find similar tutorials or materials on this topic?
If you want to improve your skills in programming view the site https://assignment.essayshark.com/compu ... -help.html, where you can perform various assignments and study embedded development.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 7 guests