Game Development Community

Extract lighmaps from the .dif and store in regular images ?

by Orion Elenzil · in Torque Game Engine · 10/09/2008 (10:32 am) · 1 replies

I'd like to be able to extract the lightmaps from DIF objects and store them in regular image files.
anyone got advice ?

the reason here is that we've got the tools to download textures on the fly,
and it's working great for regular textures,
so it would be nice to do it for the lightmaps as well, to further decrease installer size.

tia,
orion

#1
10/09/2008 (2:34 pm)
They're written out as plain PNGs. So should be easy to change map2dif (or even add code to the InteriorResource load routine) to dump them and also look for them on disk.