Löve "Light vs. Shadow" Engine [0.4.3]
Re: Löve "Light vs. Shadow" Engine [0.4.3]
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]
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 :
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
Code: Select all
[ A ]
[ B ]
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]
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.
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]
HOLY MOLY! THIS IS INCREDIBLE!
Hi! I wish you have an amazing day!
-
- Citizen
- Posts: 65
- Joined: Wed Mar 07, 2018 11:21 pm
Re: Löve "Light vs. Shadow" Engine [0.4.3]
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]
Sooo, this is like Lights vs shadows 2.0 2018 EDITION REMASTER XL MEGA 2DS ONE X MOJAVE?MissDanish wrote: ↑Sun Oct 21, 2018 7:06 pmThis is very outdated and unoptimized, I recommend this instead:
https://github.com/matiasah/shadows
Hi! I wish you have an amazing day!
Re: Löve "Light vs. Shadow" Engine [0.4.3]
Any chance of updating this? I was using its postshaders in my project, but they don't work anymore in this new Love version.
-
- Citizen
- Posts: 65
- Joined: Wed Mar 07, 2018 11:21 pm
Re: Löve "Light vs. Shadow" Engine [0.4.3]
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
Who is online
Users browsing this forum: No registered users and 7 guests