quakeforge/libs/video
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
..
renderer [vulkan] Use palette lookups for top/bottom colors 2022-11-15 11:53:07 +09:00
targets [vid] Add a function to set the palette and colormap 2022-11-14 19:39:55 +09:00
Makemodule.am [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00