gegerlan / aog

Check out taber's updated 2022 version at taberenc/AOG_2022
https://github.com/taberenc/AOG_2022
44 stars 66 forks source link

Add light effects. #9

Open gegerlan opened 12 years ago

gegerlan commented 12 years ago

Add proper light effects that makes lit areas visible, and unlit dark.

gegerlan commented 12 years ago

The cheap solution would be to use sprites for light sources. The expensive would be to use alpha maps and possibly beams to do hit detection.

Examples can be found in the light branches, e.g. Lighttesting (you may have to remove some light sources for this to load)