Simple per pixel lighting system

BlitzMax Forums/BlitzMax Programming/Simple per pixel lighting system

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Got it to work now -- nice!

also looks good if you chance the ambient light variable to something like [125,125,255], to give a blueish hue to the 'dark' parts, and have more of a night-time look to it.