quakeforge/libs/models
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
..
alias [vulkan] Use palette lookups for top/bottom colors 2022-11-15 11:53:07 +09:00
brush [model] Support the transparent texture marker 2022-09-22 09:31:04 +09:00
iqm [vulkan] Initialize resource image from tex_t 2022-10-02 20:45:20 +09:00
sprite [vulkan] Plug some leaking sprite descriptors 2022-05-11 01:52:22 +09:00
test Clean up some FIXMEs and XXXs 2022-10-15 14:40:29 +09:00
clip_hull.c [mode] Go back to using dclipnode_t everywhere 2022-05-19 15:16:53 +09:00
fullbright.c [model] Swap fullbright/top/bottom color func params 2021-12-24 06:45:13 +09:00
gl_model_fullbright.c [model] Swap fullbright/top/bottom color func params 2021-12-24 06:45:13 +09:00
gl_skin.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
glsl_skin.c Do a const-correctness run on palettes. 2013-01-27 19:57:40 +09:00
Makemodule.am [models] Include fullbright in vulkan lib 2022-09-22 13:04:26 +09:00
model.c [model] Add a function to "unload" models 2022-05-04 14:13:18 +09:00
null_model.c [model] Remove empty brush model functions 2021-01-19 08:26:53 +09:00
portal.c [mode] Go back to using dclipnode_t everywhere 2022-05-19 15:16:53 +09:00
skin.c [model] Support freeing of skin data 2022-05-12 22:46:31 +09:00
sw_skin.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
trace.c [mode] Go back to using dclipnode_t everywhere 2022-05-19 15:16:53 +09:00
vulkan_skin.c [model] Build vulkan model libs 2021-01-19 14:12:49 +09:00
winding.c Fix a bunch of issues found by gcc-11 2021-06-13 14:30:59 +09:00