Loading in lightmap textures

Blitz3D Forums/Blitz3D Programming/Loading in lightmap textures

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.

For manually loading a lightmap after the fact of a b3d model:

map=LoadMesh("testmap.b3d")
lmap=LoadTexture("testmap_lm.bmp",16+32)
TextureCoords lmap,1
TextureBlend lmap,2
EntityTexture map,lmap,0,1
EntityFX map,1


You can load and apply alternate day/night lightmaps this way.