Ask or search…

Adding RetroArch Shader Sets to Retrobat

Retrobat comes bundled with a set of shaders, however it does not include all shaders available in Retroarch.
You can manually add new Shader Sets to the Retrobat menu for libretro cores, here is the procedure.

Location of Shaders


Shaders available in Retrobat are located in the \system\shaders\configs folder of your Retrobat installation.


Shaders available in Retroarch are located in the \retroarch\shaders\ folder of your Retrobat installation.
They are sorted first by type of shader (glsl or slang):
  • GLSL: Shader format available to OpenGL.
  • Slang: New and recommended shader format, when available. Compatible with Vulkan, Direct3D 10/11/12, OpenGL Core.
Retrobat will automatically search in the right folder based on the video driver defined for the system.
Example of shader folders for GLSL:

Adding a new Shader in the Retrobat menu

Let's say you want to add the Shader "advcartoon" to Retrobat, the shader is available both for GLSL and SLANG:
The shader is located in the \retroarch\shaders\shaders_xxxx\cel folder and is named "advcartoon.glslp".
To add it to Retrobat, go to the \system\shaders\configs folder and create a new folder, name it for example "advcartoon":
Inside this folder, create a file called "rendering-defaults.yml":
Open the file with your notepad and add the following text:
shader: <retroarch shader folder>/<shader filename without extension>
In our example it will be:
shader: cel/advcartoon
The shader set will now appear in Retrobat:
Copyright The RetroBat Team 2019-2024