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.

Hmm, I'm not sure that volume lightmap program is the correct one - what I saw was a small routine to just return the colour from the lightmap at the position of an entity. I've done this myself with just a few lines, but for some reason reading the pixel colour from the lightmap is very very slow - even a single read every render loop drops the framerate, and I've tried using lockbuffer and readpixelfast - I must be doing something wrong somewhere - any ideas anyone?