6.6. Displaying Objects as "Lightmaps"

Lightmaps use textures to make objects glow transparently. An image from the included ParticleFountain demo is shown below.

Lightmaps are enabled using the method set-lightmap in Mobile.tz.

Lightmapping will work with any texture, but looks best with spherical textures which taper off around the edges. Because of this, breve includes two built-in textures, numbers 2 and 3, which work well with lightmaps. To load other images, see the section on bitmapping (Section 6.4).