?how to SaveB3D Lightmapping Data

Blitz3D Forums/Blitz3D Programming/?how to SaveB3D Lightmapping Data

Just Hacked the mesh and checked Its deffo the Problem of it being asigned to the default Texturecoords

Added Small Code after loading
and the lightmap appeared correctly


a=getsurface(mesh2,1)
b=getsurfacebrush(a)
c=getbrushtexture(b,1)
texturecoords c,1