quakeforge/include/QF/Vulkan
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
..
barrier.h [vulkan] Add a couple of staging helper functions 2022-10-03 09:09:34 +09:00
buffer.h [vulkan] Make some headers order-indepenedent 2022-05-04 13:55:56 +09:00
capture.h [vulkan] Use vkCmdCopyImageToBuffer for screenshot capture 2022-09-26 15:54:20 +09:00
command.h [vulkan] Clean up a pile of unnecessary includes 2022-05-08 17:57:40 +09:00
cvars.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
debug.h [vulkan] Label renderpass and subpass sections 2022-05-07 15:45:11 +09:00
descriptor.h [vulkan] Clean up a pile of unnecessary includes 2022-05-08 17:57:40 +09:00
device.h [vulkan] Make device.h more include-order independent 2021-12-24 06:45:13 +09:00
funclist.h [vulkan] Switch to using vkGetPhysicalDeviceProperties2 2022-09-22 09:35:56 +09:00
image.h [vulkan] Allow QFV_ImageFormat to select unorm or srgb 2022-05-08 14:15:20 +09:00
instance.h [vulkan] Switch to using vkGetPhysicalDeviceProperties2 2022-09-22 09:35:56 +09:00
memory.h Rework much of the Vulkan array handling 2020-02-17 20:29:35 +09:00
pipeline.h [vulkan] Destroy pipeline on shutdown 2021-01-05 23:54:22 +09:00
projection.h [renderer] Clean up FOV and viewport handling 2022-03-30 14:55:32 +09:00
qf_alias.h [vulkan] Use palette lookups for top/bottom colors 2022-11-15 11:53:07 +09:00
qf_bsp.h [vulkan] Partially document bsp rendering 2022-09-22 09:35:57 +09:00
qf_compose.h [vulkan] Fix some mostly harmless typos 2021-12-24 06:45:13 +09:00
qf_draw.h [vulkan] Implement line graph rendering 2022-11-10 21:19:01 +09:00
qf_iqm.h [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
qf_lighting.h [vulkan] Use the resource functions for shadow maps 2022-10-27 11:02:45 +09:00
qf_lightmap.h [renderer] Clean up most uses of currententity 2022-03-11 15:07:38 +09:00
qf_main.h [vulkan] Move main render pass setup to Vulkan_Main 2022-09-22 09:35:57 +09:00
qf_matrices.h [renderer] Clean up FOV and viewport handling 2022-03-30 14:55:32 +09:00
qf_model.h [vulkan] Make a lot of progress for brush models 2021-01-20 01:28:54 +09:00
qf_palette.h [vulkan] Use palette lookups for top/bottom colors 2022-11-15 11:53:07 +09:00
qf_particles.h [vulkan] Build particle buffers 2021-12-24 06:45:13 +09:00
qf_renderpass.h [vulkan] Implement window resize support 2022-09-26 13:04:56 +09:00
qf_scene.h [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
qf_sprite.h [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
qf_texture.h [vulkan] Add a function to update texture contents 2022-11-15 09:18:26 +09:00
qf_vid.h [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
resource.h [vulkan] Record resource memory size 2022-10-27 11:32:00 +09:00
scrap.h [vulkan] Clean up a lot of unnecessary includes 2022-03-30 15:54:07 +09:00
shader.h [vulkan] Generate code for resource nodes 2021-01-05 14:15:35 +09:00
staging.h [vulkan] Add a couple of staging helper functions 2022-10-03 09:09:34 +09:00
swapchain.h [vulkan] Implement screenshot 2021-03-24 19:20:53 +09:00