mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-25 22:01:33 +00:00
668f7f2cd2
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). |
||
---|---|---|
.. | ||
renderer | ||
targets | ||
Makemodule.am |