Home / Guides / Import .slang and .slangp Shaders in ShaderGlass
Import .slang and .slangp Shaders in ShaderGlass
ShaderGlass supports importing external .slang and .slangp shaders, but a preset can depend on textures, includes and other files kept alongside it.
Before you begin
Use Windows 10 version 2004 (build 19041) or Windows 11 and a DirectX 11-capable GPU. Confirm the source window or capture device works without additional post-processing. The exact labels can differ between ShaderGlass versions and operating modes.
Step-by-step workflow
- Download a shader or preset from a trusted source and keep its directory structure intact.
- Use the application’s import or shader selection controls to choose the shader or preset.
- If it references textures or other passes, keep those dependencies in the expected relative paths.
- Test on a small window first; if the result is blank, try a built-in preset to isolate the import.
Important details and limitations
A .slang file defines an individual shader; a .slangp preset can combine multiple shader passes and parameters.
Not every RetroArch preset is guaranteed to work: availability depends on ShaderGlass backend support and referenced files.
A broken preset is not necessarily a failed application installation.
How to verify the result
Compare the processed scene with the same source shown without ShaderGlass. Watch for clipping, unexpected color changes, black regions and input lag. Keep one parameter fixed at a time while troubleshooting. For version-dependent settings, refer to the developer manual instead of relying on old screenshots.
Questions and answers
Can ShaderGlass import .slangp presets?
Yes, it supports external Slang presets, subject to shader and resource compatibility.
Why is an imported preset blank?
Missing companion files or an unsupported shader feature are plausible causes; compare it with a built-in preset.
Related guide: Retroarch Shaders · All ShaderGlass guides · Windows download information.
Technical reference: Developer manual. This guide explains settings and does not alter the ShaderGlass application or its license.