quakeforge/libs
Bill Currie 668f7f2cd2 [vulkan] Use palette lookups for top/bottom colors
As the RGB curves for many of the color rows are not linearly related,
my idea of scaling the brightest color in the row just didn't work.
Using a masked palette lookup works much better as it allows any curves.
Also, because the palette is uploaded as a grid and the coordinates are
calculated on the CPU, the system is extendable beyond 8-bit palettes.

This isn't quite complete as the top and bottom colors are still in
separate layers but their indices and masks can fit in just one, but
this requires reworking the texture setup (for another commit).
2022-11-15 11:53:07 +09:00
..
audio [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
client [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
console [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
ecs [ecs] Optionally delete entities on hierarchy removal 2022-11-08 00:16:29 +09:00
gamecode [qfcc] Support advanced progs again 2022-11-12 20:04:19 +09:00
gib Fix a pile of warnings for gcc 12 2022-07-31 17:13:26 +09:00
image [image] Update stub WritePNG's definition 2022-09-19 13:38:58 +01:00
input [input] Initialize the axis/button callback fields 2022-09-22 09:35:57 +09:00
models [vulkan] Use palette lookups for top/bottom colors 2022-11-15 11:53:07 +09:00
net [client] Merge cl_screen.c 2022-11-02 15:11:09 +09:00
qw [util] Make sizebuf and msg sizes unisgned 2021-04-04 15:53:53 +09:00
ruamoko [scene] Move visibility management into scene code 2022-11-13 15:08:18 +09:00
scene [scene] Move efrag code from renderer to scene 2022-11-14 12:43:33 +09:00
ui [ecs] Move parent setting logic into hierarchy 2022-11-05 17:54:49 +09:00
util [util] Check share path too when filling file lists 2022-11-11 22:05:10 +09:00
video [vulkan] Use palette lookups for top/bottom colors 2022-11-15 11:53:07 +09:00
Makemodule.am [ecs] Move ECS core into its own library 2022-10-26 17:24:03 +09:00