Smart types

Blitz3D Forums/Blitz3D Beginners Area/Smart types

It is called a lightmapper. I think you can find a code example for that in the code archives on this site.