Lightmap texturing?

Blitz3D Forums/Blitz3D Beginners Area/Lightmap texturing?

gingerprince(Posted 2004) [#1]
I have a model,loaded as a mesh in .X format thats already textured.
(I`ll call it "model.x")
I have a 512 by 512 lightmap (BMP format created in Slimshady)
(I`ll call it "lightmap.bmp")
How do I `blend`(if thats the right word) the two textures to create a lightmapped version of the model.

cheers

GP


jhocking(Posted 2004) [#2]
Use b3d file format, not x. That is, export the lightmapped level as b3d from Slim Shady. Blitz only supports multiple UV sets for b3d file format.


Idaho Razor(Posted 2004) [#3]
TextureBlend texture,5

i think that's how you do it...

5 is 2xmodulate

i think there is multiply, darken, and a whole bunch of others, i was told that 5 (2xmodulate) was the best for lightmaps...

hope this helps...


Gabriel(Posted 2004) [#4]
i think there is multiply, darken, and a whole bunch of others, i was told that 5 (2xmodulate) was the best for lightmaps...


Well that really only applies if the program which creates the lightmap is using the same blend mode. Since Slim Shady is based on YAL, which I believe only use multiply blend mode lightmaps, you should really stick to multiply.

But frankly I don't see why you're trying to apply a lightmap to a pre-lightmapping model. As Joe siad, the point of using a lightmapper is to export your scene with the lightmap together as a b3d.