Page 2 of 2

Re: Help with 2D lighting

Posted: Fri Jan 19, 2018 10:27 pm
by erasio
I'll keep it short and just say no.

In theory possible but the CPU is soo much worse at calculating things like light.

Dynamic light is relatively expensive. If you can't use shaders for it on your laptop it's very most likely not capable of displaying dynamic light in any form.

Re: Help with 2D lighting

Posted: Sun Jan 21, 2018 1:28 pm
by drunken_munki
This thread has more info and some examples -- my own lighting is basically the same technique:

https://love2d.org/forums/viewtopic.php?t=83106

Re: Help with 2D lighting

Posted: Sun Jan 21, 2018 1:45 pm
by erasio
It's worth noting that this is a form of static (or very simple) lighting. It does not cast shadows, doesn't support normal maps and could not produce anything close to the example shown by yetneverdone (OP).

More like a bright spot. Which can work beautifully for some games! Don't get me wrong!

But it doesn't seem quite like what's being asked for here.

Re: Help with 2D lighting

Posted: Sun Jan 21, 2018 4:35 pm
by yetneverdone
drunken_munki wrote: Sun Jan 21, 2018 1:28 pm This thread has more info and some examples -- my own lighting is basically the same technique:

https://love2d.org/forums/viewtopic.php?t=83106
Thanks. I'll check that out

Re: Help with 2D lighting

Posted: Sun Jan 21, 2018 4:36 pm
by yetneverdone
erasio wrote: Sun Jan 21, 2018 1:45 pm It's worth noting that this is a form of static (or very simple) lighting. It does not cast shadows, doesn't support normal maps and could not produce anything close to the example shown by yetneverdone (OP).

More like a bright spot. Which can work beautifully for some games! Don't get me wrong!

But it doesn't seem quite like what's being asked for here.
Thats okay. Im also looking for that kind of lighting without using shaders