quakeforge/libs/video/renderer
Bill Currie 8c270a0a9e [vulkan] Switch to pre-multiplied alpha for 2d
I have recently learned that pre-multiplied alpha is the correct way to
do compositing, which is pretty much what the 2d pass does (actually,
all passes, but...). This required ensuring the color factor passed to
the fragment shader is pre-multiplied (a little silly for cshifts as
they used to be pre-multiplied but were un-pre-multiplied early in QF's
history and I don't feel like fixing that right now as it affects all
renderers), and also pre-multiplying alpha when converting from 8-bit
palette to rgba as the palette entry for transparent has that funky pink
(which is used in full-brights).
2022-08-30 14:29:22 +09:00
..
gl [render] Add basic 2d line drawing 2022-08-27 17:29:15 +09:00
glsl [render] Add basic 2d line drawing 2022-08-27 17:29:15 +09:00
sw [render] Add basic 2d line drawing 2022-08-27 17:29:15 +09:00
vulkan [vulkan] Switch to pre-multiplied alpha for 2d 2022-08-30 14:29:22 +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 [renderer] Star work on adding FreeType support 2022-08-27 17:53:03 +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 [renderer] Move a couple functions to using vec4f_t 2022-03-30 23:53:30 +09:00
r_bsp.c [model] Move visframe out of msurface_t 2022-05-22 16:38:50 +09:00
r_cvar.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_dyn_textures.c [image] Change tex_t data from array to pointer 2021-01-25 00:54:41 +09:00
r_efrag.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +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] Star work on adding FreeType support 2022-08-27 17:53:03 +09:00
r_graph.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_init.c [plugin] Ensure plugins get unloaded during shutdown 2022-05-12 20:58:39 +09:00
r_iqm.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +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] Star work on adding FreeType support 2022-08-27 17:53:03 +09:00
r_scrap.c [renderer] Don't round up scrap allocations 2022-08-27 17:46:14 +09:00
r_screen.c [model] Move visframe out of msurface_t 2022-05-22 16:38:50 +09:00
r_sprite.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
vid_common.c [renderer] Clean up particles a little 2022-03-29 14:43:38 +09:00
vid_render_gl.c [render] Add basic 2d line drawing 2022-08-27 17:29:15 +09:00
vid_render_glsl.c [render] Add basic 2d line drawing 2022-08-27 17:29:15 +09:00
vid_render_sw.c [render] Add basic 2d line drawing 2022-08-27 17:29:15 +09:00
vid_render_vulkan.c [render] Add basic 2d line drawing 2022-08-27 17:29:15 +09:00