Browse code

Added comment for blending LUT

Devine Lu Linvega authored on 13/04/2023 16:53:05
Showing 1 changed files
... ...
@@ -16,6 +16,8 @@ WITH REGARD TO THIS SOFTWARE.
16 16
 
17 17
 UxnScreen uxn_screen;
18 18
 
19
+/* c = !ch ? (color % 5 ? color >> 2 : 0) : color % 4 + ch == 1 ? 0 : (ch - 2 + (color & 3)) % 3 + 1; */
20
+
19 21
 static Uint8 blending[4][16] = {
20 22
 	{0, 0, 0, 0, 1, 0, 1, 1, 2, 2, 0, 2, 3, 3, 3, 0},
21 23
 	{0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3},