Files
Threadwell/archive/threads/NOTimothyLottes/2023-08-18-spc-last-crt-shader-was-broken/index.md
T
2026-08-25 16:26:52 -04:00

2.0 KiB

title, type, source, source_url, author, handle, post_id, date, archived, draft, tags, description, in_reply_to
title type source source_url author handle post_id date archived draft tags description in_reply_to
SPC: Last CRT shader was broken. archive twitter https://x.com/NOTimothyLottes/status/1692395128739057844 NOTimothyLottes NOTimothyLottes 1692395128739057844 2023-08-18 2026-08-25 false
archive
twitter
NOTimothyLottes
SPC: Last CRT shader was broken.

Source

Thread

1/ @NOTimothyLottes ^1692395128739057844

SPC: Last CRT shader was broken. Corrected it. It's energy conserving now, and correctly doing sub-pixel line width raster using the individual channels. Cell camera shots below at different zooms.

2/ @NOTimothyLottes ^1692396538629095592

Each scan line is simulated with only 3 pixels. But you get 9 sub-pixels to play with, so that is where the quality comes from. It reaches 7/8th of the display peak brightness, this compromise was so there is always some amount of perceptual scan effect.

3/ @NOTimothyLottes ^1692397318471926054

The scan line thickness is adaptive proportional to linear brightness. When the scan thins out it is energy conserving and increases the thin pixel brightness to compensate. When it needs to go bright, it blooms the line. Lines have some overlap in bloom.

Branches: archive/threads/NOTimothyLottes/2023-08-18-spc-last-crt-shader-was-broken/2023-08-18-Karyuutensei-how-many-passes-do-you-need-to-produce-this-result

4/ @NOTimothyLottes ^1692397964151378028

One human perceptual reason CRTs feel like they have more contrast than they do, is because an individual scan line is super bright when in focus. So the black surround feels darker to the mind.