character affected by lightmap

Blitz3D Forums/Blitz3D Programming/character affected by lightmap

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.

You don't need to mess around reading pixels from the lightmap.

Just keep track of where all your lights are. If they are visible to the player, and in range, use them to light the player model, either with vertex colors, or by settings up DX lights and rendering the model in a separate pass.