Darken a model in relation to a lightmap?

Blitz3D Forums/Blitz3D Programming/Darken a model in relation to a lightmap?

One trick i thought off is having a line pick to the light entity. If it makes it, let the full lighting effect process. Once the line donesn't reach the light, have the light range fade out and blend into whatever color u want. Once the light pick hits the light source again, have a fade in to the orginal properties.

U'll actually find that the do this on professional games. I've been playing HL2, Unreal very closely. I was surprise with what i found. Has long as the object isn't too big, it'll look find.