summaryrefslogtreecommitdiffstats
path: root/docs/adr/0001-custom-isurface-gui.md
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-04 00:59:41 +0100
committersalmonik <salmonik@tuta.io>2026-11-04 00:59:41 +0100
commit1e5054ceac42c97a63428a4adb89395b98890fe1 (patch)
tree65ab35f820d4e9c3abccffd47c78b8c279cdb496 /docs/adr/0001-custom-isurface-gui.md
parentSkybox image: recognise Sky_HDR_DX9 as the HDR sky shader (diff)
downloadhl2h-1e5054ceac42c97a63428a4adb89395b98890fe1.tar.gz
hl2h-1e5054ceac42c97a63428a4adb89395b98890fe1.zip
Skybox image: apply HDR colour compensation where materials exist
Move the HDR decision from texture load to apply_sky_texture, after the sky materials have definitely been enumerated: compensate the pixel buffer (sRGB -> linear, alpha = 1/8) and re-download the procedural texture before assigning it. The earlier load-time check ran before the materials were visible and silently chose the LDR path, so the 8x HDR decode stayed. Also log the compensation explicitly so the chosen path is visible.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions