quakeforge/libs/video
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
..
renderer [vulkan] Switch to pre-multiplied alpha for 2d 2022-08-30 14:29:22 +09:00
targets Merge branch 'master' into wip-rua_scene 2022-04-25 08:13:35 +09:00
Makemodule.am [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00