Why CRT Filters Are So GPU Heavy
In this article
CRT filters are so GPU-heavy because they simulate the physical behavior of a cathode-ray tube in real time, which requires dozens of separate image-processing passes—including geometric distortion, phosphor mask patterns, scanlines, aperture grille shadows, and analog signal noise—each one operating on the full resolution of the frame, often multiple times per frame. Unlike a simple overlay or a static texture, a good CRT filter is a shader pipeline that runs on the GPU every single frame, and the cost scales with both the output resolution and the complexity of the effect.
What a CRT Filter Actually Does
When you apply a CRT filter, the GPU is not just drawing a few lines on the screen. It is simulating the entire optical path of a real CRT display:
- Geometry distortion: The image is warped to mimic the curved glass of a tube (barrel or pincushion distortion), which requires a per-pixel coordinate remapping.
- Scanlines and aperture grille: Dark horizontal lines (and sometimes vertical slots) are drawn to simulate the shadow mask or Trinitron grille. These are not simple overlays—they interact with the brightness of the underlying pixels.
- Phosphor persistence and glow: The filter adds a subtle glow and color bleeding around bright areas, simulating the way phosphors excited by the electron beam would bloom.
- Convergence and aperture grille shadow: Slight misalignment of red, green, and blue channels is simulated, which requires separating the color channels and offsetting them.
- Analog signal noise and flicker: Many filters add a slight noise pattern or a 60Hz flicker, which is another full-screen pass.
Each of these effects is a separate shader pass. A typical high-quality filter like CRT Royale or MAME HLSL can use 20 to 30 passes. That means the GPU is reading and writing the entire framebuffer 20–30 times per frame, and each pass is doing complex math on every pixel.
The Resolution Multiplier Problem
CRT filters are especially heavy at high resolutions. If you are playing a game at 4K (3840×2160), that is about 8.3 million pixels. A 30-pass filter means the GPU processes roughly 250 million pixel operations per frame—just for the filter, not counting the game itself. At 60 frames per second, that is 15 billion pixel operations per second. Even a modern GPU will feel that load.
Many filters also render at a higher internal resolution than the output. For example, to simulate the fine detail of a shadow mask, the filter may render the phosphor pattern at 4× the output resolution, then downsample. That multiplies the cost even further. This is why a filter that runs fine at 1080p can bring a system to its knees at 4K.
Shader Complexity: It's Not Just Lines
The math inside each shader is also nontrivial. A simple scanline overlay might just darken every other row of pixels—that is cheap. But a realistic filter does more:
- Gaussian blur for glow and convergence, which samples many neighboring pixels.
- Sine or polynomial functions to model the curvature of the screen, which are evaluated per pixel.
- Mask patterns that are generated procedurally, not just sampled from a texture, requiring trigonometric functions and conditionals.
- Luminance masking that adjusts the intensity of the mask based on the brightness of the underlying pixel, so dark areas don't show the mask as much.
All of this is done in floating point, with multiple texture lookups and branches. The GPU's shader cores are working hard, and the memory bandwidth is also stressed because each pass reads and writes the whole framebuffer.
Why Simple Filters Are Cheaper
Not all CRT filters are equal. A basic filter that just draws dark horizontal lines and maybe a slight curve is very cheap—it might be a single pass and cost almost nothing. The heavy hitters are the ones that aim for authenticity:
- Basic scanlines: 1–2 passes, low cost.
- Medium filters (e.g., CRT-Geom): 5–10 passes, moderate cost.
- High-end filters (e.g., CRT Royale, CyberLab Mega Bezel): 20–30 passes, very high cost.
If you are using a lightweight filter and still seeing a performance hit, it might be because you are running at a very high resolution or the filter is doing more than you think (e.g., adding a mask or glow).
How to Reduce the Performance Hit
If you want the look but can't afford the cost, there are practical steps:
- Lower the output resolution: Run the game at 1080p instead of 4K. The filter cost scales roughly with pixel count.
- Turn off or reduce specific effects: Many filters let you disable glow, mask, or curvature individually. Disabling the mask usually gives the biggest savings.
- Use a simpler filter: Try a basic scanline shader instead of a full simulation. You'll lose some realism but gain performance.
- Reduce the internal resolution of the filter: Some filters have a setting for the mask resolution. Lowering it from 4× to 2× can help a lot.
- Enable integer scaling: This can make the filter more efficient because it aligns pixels to the screen grid, reducing the cost of some passes.
Common Misconceptions
"It's just an overlay, why is it so heavy?" Because it's not an overlay. It's a full simulation of the CRT's optical and electrical behavior, done per-pixel, per-frame. The GPU is doing real work.
"My GPU is powerful, so it should handle it." Even a high-end GPU can struggle with a 30-pass filter at 4K, especially if the game is also demanding. The filter is essentially running a second render pipeline on top of the game.
"CRT filters are just for retro games." They are used in modern games too, for artistic effect, and they cost the same regardless of the game's age.
Frequently Asked Questions
Why does my CRT filter cause stuttering even at 1080p?
Stuttering can happen if the GPU is maxed out or if the filter uses a lot of memory bandwidth. Some high-end filters are so heavy that they push the GPU to its limits even at 1080p, causing frame drops. Try reducing the filter's internal resolution or disabling some passes.
Does a CRT filter use more GPU than CPU?
Yes, almost always. The filter is implemented as shaders that run on the GPU. The CPU only sends the frame to the GPU; the heavy lifting is done by the GPU's shader cores. Some filters also use compute shaders, which are also GPU-side.
Can I use a CRT filter on a laptop with integrated graphics?
Yes, but you will likely need to use a simple filter and a low resolution. Integrated GPUs can handle basic scanlines, but a full CRT simulation will be too heavy. Stick to 720p or 1080p with a lightweight shader.
Is there a way to get the CRT look without the performance cost?
Yes, you can pre-render the effect: apply the filter once to a screenshot or video, then play that back. This is not real-time, but it gives the look without the GPU load. For real-time, you can use a static overlay image that mimics scanlines and curvature—it won't adapt to the content, but it's very cheap.
Why do some filters have a "mask" setting and what does it do?
The mask simulates the pattern of red, green, and blue phosphors on the screen. It's one of the most expensive parts of a CRT filter because it requires a high-resolution pattern that interacts with the image. Turning it off can drastically reduce the GPU load.
Does a CRT filter affect input lag?
Yes, slightly. The filter adds a few milliseconds of processing time because the GPU has to do more work before presenting the frame. In practice, this is usually negligible (under 1–2 ms), but in competitive gaming, every millisecond counts. If you're sensitive to input lag, use a lighter filter.