Lighting

Blitz3D Forums/Blitz3D Programming/Lighting

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.

Yes. There's a pickedu / v function in the archives. Once you have them you can get the argb of the pixel on the lightmap texture by reading the pixel at u* texturewidth() and v* textureheight(). Convert this to r,g,b and use that as a basis to colour your entities.

Stevie