Skip to main content

Module scanlines

Module scanlines 

Source
Expand description

CRT scanline overlay — darkened horizontal lines mimicking a CRT phosphor display.

Scanlines create the illusion of a retro CRT monitor by darkening every other (or N-th) row of pixels. Additional effects like vertical sync wobble and phosphor persistence can be emulated.

Structs§

ScanlineParams
CRT scanline pass parameters.

Functions§

generate_scanline_lut
Generates a 1D scanline pattern texture for GPU upload.