templateManager icon indicating copy to clipboard operation
templateManager copied to clipboard

Rework the math around dithering

Open LittleEndu opened this issue 2 years ago • 1 comments

The math around dithering is crazy complicated and doesn't event make sense. The slider in the settings should set a "show every Nth pixel" and the priority mask should add a percentage to that. There should be a separate slider for the automated dither part of animated frames.

The final formula for finding the dither amount could then be floor(N + N * (255-L)/100) where N is the selected dither amount and L is the value of the pixel in the priority map.

LittleEndu avatar Jul 24 '23 10:07 LittleEndu

I'm honestly considering dropping priority mask support. Would simplify so many parts of the overlay system

LittleEndu avatar Jul 31 '23 09:07 LittleEndu