• @over_clox
    link
    English
    28
    edit-2
    1 day ago

    I’ve lightly dabbled into subpixel art, sorta.

    In my experiments, each full pixel still takes 3 subpixels, but…

    If you drop a white pixel at X coordinate, it renders 0xFFFFFF on the RGB subpixels.

    But drop a white pixel on X+0.33, it renders on GBR.

    Drop a white pixel on X+0.67, it renders on BRG.

    All three are valid white full pixels, just offset by thirds.

    I guess that would more appropriately be considered ‘fractional pixels’ or something though. Still neat that if used properly and creatively, it can yield higher resolution graphics, of sorts…

    • @gsfraley
      link
      English
      2222 hours ago

      Those tricks are actually used pretty frequently in modern graphics stacks, especially around things with fine edges like text. In those cases it’s called “subpixel anti-aliasing”.

      • @[email protected]
        link
        fedilink
        English
        918 hours ago

        Of course that all falls apart if the display doesn’t use a normal subpixel layout. OLED displays usually have an unsupported subpixel layout. Some of them even have a white subpixel that’s not controllable by the computer, which makes subpixel anti-aliasing impossible.

        • @[email protected]
          link
          fedilink
          English
          416 hours ago

          I returned my first oled because of this. It was maddening reading and writing, and made any graphic design impossible.

          Bought a new one this year and they seem to have solved the problem.