reading colour from lightmap for lighting entity?

Blitz3D Forums/Blitz3D Programming/reading colour from lightmap for lighting entity?

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.

I'm sure a while ago someone posted a routine to read the colour at an entity's position from the lightmap and then set the entity's colour, to enable it to darken when in shadow.

Does anyone have this routine? My attempt is very slow it seems.

Thanks
James