-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or requestid_software.quakeQuake branch scriptQuake branch scriptrefactorrequires restructuring some backend stuffrequires restructuring some backend stuffvalve.sourceHalf-Life 2 branch scriptHalf-Life 2 branch script
Description
Currently id_software.quake & valve.source rely on a .lightmaps_of_face branch method
That branch method is stuck parsing a single lump
But lightmap texels can come from multiple sources
I want to be able to select a lump to pull lightmaps from in the lightmaps module
Would be really cool to be able to compare different lightmaps visually
Gotta do this refactor to do that.
Lighting lumps
bspxDECOUPLED_LM(includes uv map?)LIGHTING_DIRLIGHTING_E5BGR9LMSTYLE16RBGLIGHTING(headerless.lit)
id_software.quakeLIGHTING
valve.sourceLIGHTINGLIGHTING_HDR
Also .lit
struct rgb24 { uint8_t r, g, b; };
struct LitFile {
char magic[4]; // 'QLIT'
uint32_t version; // 0x01
rgb24 texels[]; // as many texels as .bsp, but 24-bit
};Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestid_software.quakeQuake branch scriptQuake branch scriptrefactorrequires restructuring some backend stuffrequires restructuring some backend stuffvalve.sourceHalf-Life 2 branch scriptHalf-Life 2 branch script
Projects
Status
Todo: Research