Help with 2D lighting

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
erasio
Party member
Posts: 118
Joined: Wed Mar 15, 2017 8:52 am
Location: Germany

Re: Help with 2D lighting

Post 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.
drunken_munki
Party member
Posts: 134
Joined: Tue Mar 29, 2011 11:05 pm

Re: Help with 2D lighting

Post 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
User avatar
erasio
Party member
Posts: 118
Joined: Wed Mar 15, 2017 8:52 am
Location: Germany

Re: Help with 2D lighting

Post 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.
User avatar
yetneverdone
Party member
Posts: 448
Joined: Sat Sep 24, 2016 11:20 am
Contact:

Re: Help with 2D lighting

Post 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
User avatar
yetneverdone
Party member
Posts: 448
Joined: Sat Sep 24, 2016 11:20 am
Contact:

Re: Help with 2D lighting

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

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest