bloodrun-editor/makefiles
serge_shubin 6f78fcb452 Add L2 spherical harmonics light grid to q3map2
Implements a new SH light grid that runs alongside the legacy Q3 light grid,
storing 9 RGB L2 spherical harmonic coefficients per grid point for accurate
directional lighting of dynamic objects from all angles.

BSP format: v47 with 19-lump header (160 bytes) when -sh is used, v46 with
17-lump header (144 bytes) otherwise. SH data stored in LUMP_LIGHTGRID_SH
(index 18) with a header containing grid bounds/size/mins followed by the
coefficient array. Stock Q3 engines read v46 lumps unchanged.

New CLI flags: -sh (enable), -gridscalesh (density multiplier, default 2x),
-gridsh (explicit cell size). SH grid receives bounced light with -bouncegrid.

Also adds libjpeg-turbo as a proper build dependency with its own vcxproj,
fixing the previous external engine path requirement.
2026-04-03 13:52:07 +08:00
..
Props Add L2 spherical harmonics light grid to q3map2 2026-04-03 13:52:07 +08:00
assimp.vcxproj Initial commit of q3map2 2026-04-02 20:51:01 +08:00
assimp.vcxproj.user Initial commit of q3map2 2026-04-02 20:51:01 +08:00
editor.sln Add L2 spherical harmonics light grid to q3map2 2026-04-03 13:52:07 +08:00
libjpeg-turbo.vcxproj Add L2 spherical harmonics light grid to q3map2 2026-04-03 13:52:07 +08:00
libpng.vcxproj Initial commit of q3map2 2026-04-02 20:51:01 +08:00
libpng.vcxproj.user Initial commit of q3map2 2026-04-02 20:51:01 +08:00
libxml2.vcxproj Initial commit of q3map2 2026-04-02 20:51:01 +08:00
libxml2.vcxproj.user Initial commit of q3map2 2026-04-02 20:51:01 +08:00
q3map2.vcxproj Add L2 spherical harmonics light grid to q3map2 2026-04-03 13:52:07 +08:00
q3map2.vcxproj.user Initial commit of q3map2 2026-04-02 20:51:01 +08:00
zlib.vcxproj Initial commit of q3map2 2026-04-02 20:51:01 +08:00
zlib.vcxproj.user Initial commit of q3map2 2026-04-02 20:51:01 +08:00