Someone posted some code a while back. Its in one of the 3d forums. Anyway the tricky bit is getting the picked UV coords, because Blitz does not have a pickedU/pickedV function. Once you have the UV coords its easy to get the appropriate pixel from the lightmap texture. Fortunately Fredborg has mastered the maths, done all the hard work, and has posted this code in the archives. http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=515.
Dynamic DX Lighting
Miscellaneous Forums/Blitz Showcase/Dynamic DX LightingThe 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.