Skip to content

aduffey/crtsim

Repository files navigation

This is a work-in-progress CRT simulation, prototyped in Taichi and implemented as a set of Slang shaders for RetroArch or librashader-compatible software.

Currently, supported features include:

  • A configurable low-pass filter to simulate the limited bandwidth of an analog connection.
  • Optional YIQ encoding to simulate a composite or s-video connection (actual NTSC encoding/decoding is not currently supported).
  • Configurable scanline simulation.
  • Configurable overscan cropping.
  • "Glow" simulation, recreating the glowing areas around bright parts of the screen caused by the scattering of light in the glass.
  • Limited support for masks in the Taichi simulation only.

The Slang shaders have been tested to run in 4k at 60 FPS on a Ryzen 7000 integrated GPU in their default configuration.

About

Simulate a CRT television.

Resources

Stars

Watchers

Forks

Packages

No packages published