ericw-tools/include/common
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
..
aabb.hh
aligned_allocator.hh
bitflags.hh
bspfile.hh
bspfile_common.hh
bspfile_generic.hh
bspfile_q1.hh
bspfile_q2.hh
bspinfo.hh light: LIGHTING_E5BGR9 + HDR .lit support (#427) 2024-05-26 21:55:10 -06:00
bsputils.hh light: LIGHTING_E5BGR9 + HDR .lit support (#427) 2024-05-26 21:55:10 -06:00
bspxfile.hh
cmdlib.hh
decompile.hh
entdata.h
fs.hh
imglib.hh
iterators.hh
json.hh
litfile.hh light: LIGHTING_E5BGR9 + HDR .lit support (#427) 2024-05-26 21:55:10 -06:00
log.hh some more memory adjustments 2024-05-20 11:28:03 -04:00
mapfile.hh
mathlib.hh
numeric_cast.hh
ostream.hh
parallel.hh
parser.hh
polylib.hh
prtfile.hh
qvec.hh
settings.hh some more memory adjustments 2024-05-20 11:28:03 -04:00
threads.hh
vectorutils.hh