Bring the classic Mattias CRT look to Dolphin, with scanlines, glow, color separation, and curved-screen effects.
Choose Original, Soft, or Strong, available in both full-quality and performance editions. Each shader has just three controls: curvature, scanline speed, and brightness.
| Style | Look |
|---|---|
| Original | Closest to the classic Mattias CRT effect. |
| Soft | Gentler scanlines, glow, noise, and color separation. |
| Strong | More pronounced CRT effects. |
All three styles share the same default curvature and control settings.
The Performance edition trades a little fidelity for a little extra speed. The difference in performance was small on my devices, so try both and see which you prefer.
Get the shaders from Releases:
- Original ZIP: includes full-quality Original, Soft, and Strong. Start here if you’re unsure.
- Performance ZIP: includes Performance, Performance Soft, and Performance Strong.
Each ZIP includes three standalone shaders, instructions, and credits.
Extract the ZIP, then copy the .glsl files from its Shaders folder into:
- Windows:
%APPDATA%\Dolphin Emulator\Shaders\ - macOS:
~/Library/Application Support/Dolphin/Shaders/ - Linux — Native:
~/.local/share/dolphin-emu/Shaders/ - Linux — Flatpak:
~/.var/app/org.DolphinEmu.dolphin-emu/data/dolphin-emu/Shaders/ - Linux — RetroDECK:
~/retrodeck/shaders/Dolphin/— use your RetroDECK data folder if you installed it elsewhere. - Android:
Android/data/org.dolphinemu.dolphinemu/files/Shaders/
Create the Shaders folder if it is missing. Restart Dolphin, then select the shader under Graphics → Enhancements → Post-Processing Effect.
For custom or portable installations, use the Shaders folder inside your active Dolphin user folder.
On desktop, use Dolphin’s shader configuration dialog when available. You can also edit the settings directly in the shader file.
On Android, edit the file before installing it, since Dolphin’s Android interface does not expose these shader controls.
| Control | Name in the file | Default | Range |
|---|---|---|---|
| Curvature | M_CURVATURE |
0.5 | 0–1 |
| Scanline speed | M_SCAN_SPEED |
1.0 | 0–10 |
| Brightness | M_EXPOSURE |
0.0 | −2 to +2 |
Open the .glsl file in a plain-text editor. Near the top, find the control’s OptionName and change the DefaultValue in that section.
For example, this sets curvature to zero for a flat image:
[OptionRangeFloat]
GUIName = Curvature
OptionName = M_CURVATURE
MinValue = 0.0
MaxValue = 1.0
DefaultValue = 0.0
StepAmount = 0.05For scanline speed, 0.0 stops scrolling. For brightness, negative values darken the image and positive values brighten it.
Save the file with its .glsl extension, then copy it into Dolphin’s shader folder. Use decimal points, such as 0.5.
If Dolphin keeps using previously saved settings, give the edited shader a new filename, restart Dolphin, and select that version.
Screenshots coming soon.
| Shader | Screenshot |
|---|---|
| No Shader | ![]() |
| Original | ![]() |
| Soft | ![]() |
| Strong | ![]() |
| Performance | ![]() |
| Performance Soft | ![]() |
| Performance Strong | ![]() |
I’ve tested all six shaders on Linux and an Android handheld. Windows and macOS feedback is welcome.
The shaders are intended for SDR displays. If you find a problem, include your shader filename, Dolphin version, device, graphics backend, and a screenshot if possible.
The original CRT Emulation shader is by Mattias Gustavsson, adapted for RetroArch/Libretro.
I developed this Dolphin port with help from OpenAI Codex.
See NOTICE.md for source attribution and the unresolved licensing details.
The full-quality shaders use a 25-sample blur. Performance shaders use nine samples with bilinear filtering, reducing source-level texture reads from 225 to 81 per in-bounds pixel.
That reduction does not translate directly into an equivalent speedup. Actual performance depends on the device, graphics backend, and resolution. The simpler sampling also changes blur, fine detail, and contrast slightly.
These effect multipliers are fixed in each shader:
| Effect | Original | Soft | Strong |
|---|---|---|---|
| Scanlines | 1 | 0.65 | 1.15 |
| Blur radius | 1 | 0.8 | 1.15 |
| Glow | 1 | 0.65 | 1.25 |
| RGB separation | 1 | 0.5 | 1.3 |
| Ghosting | 1 | 0.3 | 1.3 |
| Noise | 1 | 0.35 | 1.15 |
| Column pattern | 1 | 0.6 | 1.25 |
All styles share the same default curvature, vignette, zoom, scanline density, flicker, and color settings. Strong has no separate corner-smoothing feature. Soft reduces the CRT effects, including blur; weaker scanline dimming can make it appear brighter.
- Curvature
0produces a flat image. - Scanline speed
0stops scrolling; noise and flicker remain animated. - Brightness is measured in stops:
+1doubles output RGB before display clipping. - Animation follows elapsed time, so pausing and changing emulation speed may behave differently from RetroArch.
- Dolphin’s saved control values take priority over defaults edited in the file.
The development interface target was Dolphin 2609. Automated checks used Mesa llvmpipe software OpenGL for compilation and synthetic rendering.
The checks covered default settings and combined control extremes, verified finite output, and confirmed that the controls and styles changed the rendered image. Hardware testing covered Linux and an Android handheld.
HDR, stereoscopic output, and every graphics backend have not been tested.
Older native Linux setups may still use ~/.dolphin-emu/Shaders/. When available, File → Open User Folder shows the active Dolphin directory.
If Android blocks direct access to Android/data, use a file manager that exposes Dolphin’s storage-provider entry, then open Dolphin Emulator → Shaders.






