2d lightmapping

BlitzPlus Forums/BlitzPlus Programming/2d lightmapping

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.

In BB2D
I`m working on a platformer.

What I need help on is this :-

My project has 2d platforms overlayed on a darker background (may or may not parallax scroll).

My character carries a candle -

The effect I want is a circular `glow` eminating from the candle that will cast `light` onto the background layer.

I`m presuming what I need to do is lighten the colour underneath a circle mask of some sort.

I suppose I`m after a 2d LIGHTMAPPER of sorts

Any help will be useful

Thanx

GP