Basic Lightmapping Example

Blitz3D Forums/Blitz3D Programming/Basic Lightmapping Example

Does anyone have a link to a very basic lightmapping example? (e.g. lightmapping a cube)

(not so much how the lightmap is created - I realize there are tools for that such a Giles - more really to give me a basic understanding of what a lightmap even is. Is it just a second texture applied? etc?)

Thanks!
Patrick

Look over at gamedev.net. Lightmapping uses relatively set routines, there aren't any simply "LightmapCube()" examples floating arround afaik.

isn't the yal (yet another lightmapper) in the code archives?

Should be, I just didn't think to direct him there :). It also isn't really a "simple example" of lightmapping.

Lightmap is basically another texture, usually using the second set of UV-Co-ords :)

Yeah, YAL is really too much code to digest all at once. Thanks for the suggestions, though. Maybe I need to spend some time learning about multi-texturing first.