2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.BSP
|
2025-09-26 10:57:15 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This is one of the largest lumps in the BSP file. The lightmap
|
|
|
|
|
/// lump stores all lightmaps used in the entire map. The lightmaps
|
|
|
|
|
/// are arrays of triples of bytes (3 channel color, RGB) and stored
|
2025-10-30 21:21:56 -04:00
|
|
|
/// continuously.
|
2025-09-26 10:57:15 -04:00
|
|
|
/// </summary>
|
2025-10-30 21:21:56 -04:00
|
|
|
/// <see href="https://developer.valvesoftware.com/wiki/BSP_(GoldSrc)"/>
|
2025-09-26 10:57:15 -04:00
|
|
|
public sealed class LightmapLump : Lump
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Lightmap RGB values
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <remarks>Array of 3-byte values</remarks>
|
2025-10-31 13:59:28 -04:00
|
|
|
public byte[][] Lightmap { get; set; } = [];
|
2025-09-26 10:57:15 -04:00
|
|
|
}
|
2025-10-30 21:21:56 -04:00
|
|
|
}
|