Discorz wrote: ↑13 Dec 2022, 06:29
I tried few RGBCMY line combinations for sub-pixel accuracy but I didn't notice any difference even when eye tracking very close to the screen. I'll do more experimenting.
For RGB displays, you need:
(
RGB)(
RGB)(
RGB)(
RGB) Solid 1px white
(
RGB)(
RGB)(
RGB)(
RGB) 1px Cyan line + 1px Red line (1/3 offset right)
(
RGB)(
RGB)(
RGB)(
RGB) 1px Blue line + 1px Yellow line (2/3 offset right)
White = RGB(255,255,255)
Cyan = RGB(0,255,255)
Red = RGB(255,0,0)
Blue = RGB(0,0,255)
Yellow = RGB(255,255,0)
You
never use green nor magenta to ClearType an edge of a 1+ pixel fullwhite thick line on an RGB display.
Easiest is to chart the pixels like the above, you can clearly see the colors you need. Never blindly experiment -- always use graph paper when pixelarting ClearType. On your graph paper, every 3rd column is red, every (3rd + 1) column is green, and every (3rd + 2) column is blue. Then pixelart accordingly. Use color sharpies or use letters R, G, B, when you pixelart subpixelly.
Now, this can even be extended to more complex work:
For pixelarting complex objects to be converted into a ClearType-style monochrome image full of 1/3rd pixel offsets, you can also use MS Paint, Paint.net, PhotoShop, and create a 2-layers where top layer is blank (either solid white or solid black) and next layer is vertical 1-pixel stripes of red, green, blue. Use a delete-pixel tool on the 2nd layer to reveal the colored pixel underneath. Once you've pixelarted your subpixel art (whether lines or shapes), you can use a bunch of masking tricks and point scaling to merge the layers to create a subpixel-aware image (instructions vary by paint program, this is the most complex step). It's almost like the Apple II half-pixel-offset trick, reinvented, for third-pixel offsets by piggybacking on subpixels.
Be warned, this won't work well on current OLED pixel structures because of Samsung's triangle structure and LG's quadruple-pixel "RWBG" pixel processing. So you've created a test that works well on LCDs but not as well on OLEDs, and got the conundrum that ClearType works on LCDs better than OLEDs (for now...)