quakeforge/libs/models/alias
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
..
floodfill.c [util] Make developer flag names easier to manage 2021-03-29 22:38:47 +09:00
gl_mesh.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
gl_model_alias.c [model] Clean up alias skin loading a little 2022-04-04 17:47:21 +09:00
glsl_model_alias.c [model] Clean up alias skin loading a little 2022-04-04 17:47:21 +09:00
Makemodule.am [models] Add floodfill.c to the vulkan alias lib 2021-04-03 00:16:25 +09:00
model_alias.c [model] Fix alias skin group loading 2022-05-19 13:26:45 +09:00
sw_model_alias.c [model] Clean up alias skin loading a little 2022-04-04 17:47:21 +09:00
vulkan_model_alias.c [vulkan] Use palette lookups for top/bottom colors 2022-11-15 11:53:07 +09:00