quakeforge/libs/video/renderer
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
..
gl [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
glsl [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
sw [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
vulkan [vulkan] Use palette lookups for top/bottom colors 2022-11-15 11:53:07 +09:00
crosshair.c Add a new crosshair. 2012-12-12 19:36:50 +09:00
font8x8.c [renderer] Add a default 8x8 font 2021-01-08 14:37:52 +09:00
Makemodule.am [vulkan] Upload palette as a 16x16 image 2022-11-15 09:26:17 +09:00
noisetextures.c Change pointer_t to unsigned and clean up the mess. 2012-12-21 21:53:13 +09:00
r_alias.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
r_billboard.c [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
r_bsp.c [sw] Take advantage of the ECS for edge rendering 2022-10-25 19:36:09 +09:00
r_cvar.c [vid] Remove console view from viddef_t 2022-09-21 17:31:18 +09:00
r_draw.c [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
r_dyn_textures.c [image] Change tex_t data from array to pointer 2021-01-25 00:54:41 +09:00
r_ent.c [sound] Remove a pile of unwanted sound.h includes 2022-06-03 15:43:53 +09:00
r_fog.c [renderer] Fix some non-static linking issues 2022-03-09 06:55:31 +09:00
r_font.c [renderer] Remove rglyph_t struct 2022-10-20 15:50:53 +09:00
r_graph.c [client] Fix incorrect function component setup 2022-11-10 21:23:04 +09:00
r_init.c [plugin] Ensure plugins get unloaded during shutdown 2022-05-12 20:58:39 +09:00
r_iqm.c [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
r_light.c [model] Move visframe out of msurface_t 2022-05-22 16:38:50 +09:00
r_main.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
r_part.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_progs.c [renderer] Add fontid to Draw_AddFont and Draw_FontString 2022-10-03 09:01:54 +09:00
r_scrap.c [renderer] Use better heuristics for scrap allocation 2022-09-20 19:32:49 +09:00
r_screen.c [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
r_sprite.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
r_text.c [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
vid_common.c [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
vid_render_gl.c [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
vid_render_glsl.c [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
vid_render_sw.c [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
vid_render_vulkan.c [vulkan] Upload palette as a 16x16 image 2022-11-15 09:26:17 +09:00