![]() |
![]() |
Krrios File Format Reference
LightsData File: Light.mul Sizes:short width = (extra & 0xFFFF);short height = ((extra >> 16) & 0xFFFF); Data:sbyte[width * height] additiveLightmap;For each pixel (loaded top to bottom, left to right), add the lightmap value for each R, G, and B. As the value ranges from -31 to 31, you could easily apply a hue by using the color entry at Math.Abs( value ). See Also: - Index Files |