Page 12 of 12

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

Posted: Sun Mar 26, 2017 8:05 am
by murks
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.

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

Posted: Sun Mar 26, 2017 12:34 pm
by zell2002
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

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

Posted: Tue Apr 11, 2017 6:28 am
by Sungray
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.

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

Posted: Sun Oct 21, 2018 11:19 am
by Darlex
HOLY MOLY! THIS IS INCREDIBLE!

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

Posted: Sun Oct 21, 2018 7:06 pm
by MissDanish
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

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

Posted: Fri Oct 26, 2018 12:57 am
by Darlex
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?

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

Posted: Thu Dec 06, 2018 12:16 am
by megalukes
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:

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

Posted: Thu Dec 06, 2018 9:57 pm
by MissDanish
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