kiibohd / controller

Kiibohd Controller
GNU General Public License v3.0
806 stars 270 forks source link

Colours differ between sections of the underlighting on Gemini #377

Open al45tair opened 4 years ago

al45tair commented 4 years ago

For instance, (25,97,212) is noticeably more purple on the back half of the underlighting (LEDs 113 to 128) than it is on the front half (129 to 144).

Similarly, I did this:

A[snooze] <= framedelay:16, framestretch, loop, replace:clear, pfunc: interp;
A[snooze, 1] <= P[113](0,0,0), P[144](0,0,0);
A[snooze, 2] <= P[113](15,15,15), P[144](15,15,15);
A[snooze, 3] <= P[113](31,31,31), P[144](31,31,31);
A[snooze, 4] <= P[113](47,47,47), P[144](47,47,47);
A[snooze, 5] <= P[113](63,63,63), P[144](63,63,63);
A[snooze, 6] <= P[113](79,79,79), P[144](79,79,79);
A[snooze, 7] <= P[113](95,95,95), P[144](95,95,95);
A[snooze, 8] <= P[113](111,111,111), P[144](111,111,111);
A[snooze, 9] <= P[113](127,127,127), P[144](127,127,127);
A[snooze, 10] <= P[113](111,111,111), P[144](111,111,111);
A[snooze, 11] <= P[113](95,95,95), P[144](95,95,95);
A[snooze, 12] <= P[113](79,79,79), P[144](79,79,79);
A[snooze, 13] <= P[113](63,63,63), P[144](63,63,63);
A[snooze, 14] <= P[113](47,47,47), P[144](47,47,47);
A[snooze, 15] <= P[113](31,31,31), P[144](31,31,31);
A[snooze, 16] <= P[113](15,15,15), P[144](15,15,15);

and found that the back half seemed to go black out of step with (and for longer than) the front half, I'm assuming because it has a different gamma curve or some such.

al45tair commented 4 years ago

Turning off gamma correction fixes the issue.