Commit Graph

4 Commits

Author SHA1 Message Date
Eric Wasylishen 8e12b9b49a light: move HDR_PackE5BRG9/HDR_UnpackE5BRG9 to common/litfile.hh 2024-05-20 12:13:17 -06:00
Eric Wasylishen 91e5529ef2 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
2024-05-19 22:24:11 -06:00
Daniel Svensson ef06425f33 light: Add support for LIGHTING_E5BGR9.
This is not really finished. Currently mutually exclusive with
regular RGBLIGHTING, and not tested with external .lit file.
2024-04-29 02:09:02 +02:00
Jonathan 71aa8aaeea
Paril/mem write (#412)
* simplify light_surfaces storage

* memory on writes

* Revert "batch together traces on the whole surface - saves a small amount of time"

This reverts commit 72611b7e97.

# Conflicts:
#	light/ltface.cc

* fix a use-after-move

* don't try to write lightmap if it has no styles

* fix issue with alignment
2024-03-13 20:01:05 -06:00