Basic Lightmapping Example

Blitz3D Forums/Blitz3D Programming/Basic Lightmapping Example

Midnight(Posted 2004) [#1]
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


poopla(Posted 2004) [#2]
Look over at gamedev.net. Lightmapping uses relatively set routines, there aren't any simply "LightmapCube()" examples floating arround afaik.


jfk EO-11110(Posted 2004) [#3]
isn't the yal (yet another lightmapper) in the code archives?


poopla(Posted 2004) [#4]
Should be, I just didn't think to direct him there :). It also isn't really a "simple example" of lightmapping.


Ross C(Posted 2004) [#5]
Lightmap is basically another texture, usually using the second set of UV-Co-ords :)


Midnight(Posted 2004) [#6]
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.