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 »

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: 75
Joined: Sun Feb 23, 2014 9:22 pm

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

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

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.
Darlex
Party member
Posts: 128
Joined: Sun Sep 24, 2017 10:02 am
Location: Chile
Contact:

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

Post by Darlex »

HOLY MOLY! THIS IS INCREDIBLE!
Hi! I wish you have an amazing day!
MissDanish
Citizen
Posts: 65
Joined: Wed Mar 07, 2018 11:21 pm

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

Post 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
Darlex
Party member
Posts: 128
Joined: Sun Sep 24, 2017 10:02 am
Location: Chile
Contact:

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

Post 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?
Hi! I wish you have an amazing day!
User avatar
megalukes
Citizen
Posts: 94
Joined: Fri Jun 27, 2014 11:29 pm
Location: Brazil

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

Post 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:
MissDanish
Citizen
Posts: 65
Joined: Wed Mar 07, 2018 11:21 pm

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests