Darken a model in relation to a lightmap?

Blitz3D Forums/Blitz3D Programming/Darken a model in relation to a 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.

I would like to uniformly darken/lighten a moving model in relation to a lightmapped mesh directly beneath the model (so that my characters don't stand out like lightbulbs when they are standing in darkly lit areas and vice versa!)

I was hoping that there might be a simple way to get the RGB colour values of a point on the texture of a model - kind of like a 3d version of getcolor - so that I could use these values with entitycolor to tint my moving models.

If this is not possible, can anyone here suggest another method of achieving moving models that are darkened/lightened as they pass over the pre-calculated static shadows of a lightmap?