RetroArch shaders
Rio allow to configure filters based on RetroArch shaders: github.com/libretro/slang-shaders.
[renderer]
filters = [
# load builtin filter
"newpixiecrt",
# or load your own filter
"/Users/raphael/Downloads/slang-shaders-master/crt/newpixie-crt.slangp"
]
Requirements
The filter chain is implemented on top of librashader and only runs on the wgpu backend. It is gated behind the wgpu Cargo feature.
-
Windows / WebAssembly —
wgpuis enabled by default; filters work out of the box. -
macOS / Linux — the default builds use the native Metal / Vulkan backends, which do not include the librashader filter chain. To use filters, build with the feature enabled and select the
Webgpurenderer in your config:cargo build --release --features wgpu[renderer]backend = "Webgpu"
If filters is set but the active backend is one of the native backends (Metal on macOS, Vulkan on Linux), the configuration is accepted but the filter chain is not applied.

