Löve "Light vs. Shadow" Engine [0.4.3]

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
murks
Party member
Posts: 185
Joined: Tue Jun 03, 2014 4:18 pm

Re: Löve "Light vs. Shadow" Engine [0.4.3]

Post by murks » Sun Mar 26, 2017 8:05 am

I haven't coded anything using one of those engines yet, but I've tried some of the provided demos and it seems to work there. I've found some odd cases but for the most part it works as expected. I suggest to try those demos yourself and see what you did differently.

zell2002
Citizen
Posts: 56
Joined: Sun Feb 23, 2014 9:22 pm

Re: Löve "Light vs. Shadow" Engine [0.4.3]

Post by zell2002 » Sun Mar 26, 2017 12:34 pm

Yeah I saw this happen in the demo, I think it's part of the NormalMap it does, but if you load Complext, then left click - and add 2 blocks - with a bit of space between them like this :

Code: Select all

     [ A ]
      
           [ B ]
then move the light around them, you will find the light at top left, will light up both shapes A and B, then if you move it around to the bottom right, both will be in darkness.
To me, the light being top left, I'd like to see shape A partly lighted, and shape B in darkness (as it is behind A)

Hope this makes sense

[edit]
http://onepixelahead.de/love2d_polyshadow.png
Bottom left, green circle shouldn't be lit as it is behind pink circle

Sungray
Prole
Posts: 7
Joined: Sun Apr 09, 2017 8:02 pm

Re: Löve "Light vs. Shadow" Engine [0.4.3]

Post by Sungray » Tue Apr 11, 2017 6:28 am

Can't make the shadows work for images. Seems broken in the demo too.

Also I don't understand the scaling and positioning on this. I've been trying to make it consistent with hump + gamera, no luck.

User avatar
Darlex
Citizen
Posts: 52
Joined: Sun Sep 24, 2017 10:02 am
Contact:

Re: Löve "Light vs. Shadow" Engine [0.4.3]

Post by Darlex » Sun Oct 21, 2018 11:19 am

HOLY MOLY! THIS IS INCREDIBLE!
ERROR

User avatar
MissDanish
Prole
Posts: 49
Joined: Wed Mar 07, 2018 11:21 pm
Location: Denmark

Re: Löve "Light vs. Shadow" Engine [0.4.3]

Post by MissDanish » Sun Oct 21, 2018 7:06 pm

Darlex wrote:
Sun Oct 21, 2018 11:19 am
HOLY MOLY! THIS IS INCREDIBLE!
This is very outdated and unoptimized, I recommend this instead:
https://github.com/matiasah/shadows
Provides free hugs :neko:

User avatar
Darlex
Citizen
Posts: 52
Joined: Sun Sep 24, 2017 10:02 am
Contact:

Re: Löve "Light vs. Shadow" Engine [0.4.3]

Post by Darlex » Fri Oct 26, 2018 12:57 am

MissDanish wrote:
Sun Oct 21, 2018 7:06 pm
Darlex wrote:
Sun Oct 21, 2018 11:19 am
HOLY MOLY! THIS IS INCREDIBLE!
This is very outdated and unoptimized, I recommend this instead:
https://github.com/matiasah/shadows
Sooo, this is like Lights vs shadows 2.0 2018 EDITION REMASTER XL MEGA 2DS ONE X MOJAVE?
ERROR

User avatar
megalukes
Citizen
Posts: 88
Joined: Fri Jun 27, 2014 11:29 pm
Location: Brazil

Re: Löve "Light vs. Shadow" Engine [0.4.3]

Post by megalukes » Thu Dec 06, 2018 12:16 am

Any chance of updating this? I was using its postshaders in my project, but they don't work anymore in this new Love version. :cry:

User avatar
MissDanish
Prole
Posts: 49
Joined: Wed Mar 07, 2018 11:21 pm
Location: Denmark

Re: Löve "Light vs. Shadow" Engine [0.4.3]

Post by MissDanish » Thu Dec 06, 2018 9:57 pm

megalukes wrote:
Thu Dec 06, 2018 12:16 am
Any chance of updating this? I was using its postshaders in my project, but they don't work anymore in this new Love version. :cry:
It's been outdated since 0.9.0 or something like that and the guy who made it hasn't been on here for around a year and a half. It's unlikely that it will ever get updated again or at least not in a timely manner, if you are just using the post shaders and not the light system itself it's probably best if you write your own shaders. If you're interested in a light system I'd recommend this:
https://github.com/matiasah/shadows
Provides free hugs :neko:

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests