ericw-tools/tests
Eric Wasylishen 30868eacb7
light: LIGHTING_E5BGR9 + HDR .lit support (#427)
* light: Add support for LIGHTING_E5BGR9.

This is not really finished. Currently mutually exclusive with
regular RGBLIGHTING, and not tested with external .lit file.

* light: replace HDR_PackResult with a version following the OpenGL spec

- add HDR_UnpackE5BRG9 for unpacking
- caller is now responsible for scaling 128 -> 1
- expose in header for tests

* light: move HDR_PackE5BRG9/HDR_UnpackE5BRG9 to common/litfile.hh

* build: std::powf not available in gcc

* common: move LoadLitFile to litfile.hh

* common: LoadLitFile: return hdr variant as well

* lightpreview: add an Exposure slider

* lightpreview: support hdr .lit's, wip

* tests: refactoring to set up testing for hdr lit's

* tests: add test for -hdr and -bspxhdr

* tests: fix LM_Sample to deal with styles correctly

* lightpreview: fix glsl error

* lightpreview: show dialog box for glsl compile errors

---------

Co-authored-by: Daniel Svensson <dsvensson@gmail.com>
2024-05-26 21:55:10 -06:00
..
CMakeLists.txt tests: add -verbose flag 2024-02-11 16:38:57 -07:00
benchmark.cc light: change remaining double -> float 2024-02-25 23:42:45 -07:00
test.cc light: change remaining double -> float 2024-02-25 23:42:45 -07:00
test_bsputil.cc
test_common.cc qbsp: q2: adding structrual solid to a leaf now only clears detail bit, not other bits 2024-04-24 23:46:40 -06:00
test_entities.cc
test_light.cc light: LIGHTING_E5BGR9 + HDR .lit support (#427) 2024-05-26 21:55:10 -06:00
test_ltface.cc light: LIGHTING_E5BGR9 + HDR .lit support (#427) 2024-05-26 21:55:10 -06:00
test_main.cc qbsp: shrink node_t from 280 to 208 bytes 2024-03-09 19:37:23 -07:00
test_main.hh tests: add -verbose flag 2024-02-11 16:38:57 -07:00
test_qbsp.cc qbsp: use mapfile.cc for .map file parsing 2024-04-07 22:20:33 -06:00
test_qbsp.hh light: LIGHTING_E5BGR9 + HDR .lit support (#427) 2024-05-26 21:55:10 -06:00
test_qbsp_q2.cc qbsp: q2: adding structrual solid to a leaf now only clears detail bit, not other bits 2024-04-24 23:46:40 -06:00
test_vis.cc
testutils.hh