Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
emulationstation:shaders_set [2024/04/06 21:21] – [Table] duglimemulationstation:shaders_set [2026/05/23 01:54] (current) – [Hot-swapping shaders with controller commands] lbrpdx
Line 145: Line 145:
 Also, these shaders can only be applied to Libretro cores. Standalone emulators have to either provide their own shader in the advanced system options or something else. Also, these shaders can only be applied to Libretro cores. Standalone emulators have to either provide their own shader in the advanced system options or something else.
  
-===== Hot-swapping shaders with controller commands ===== +===== Add your own shaders =====
- +
-Did you know you can swap the active shader with the ''[Hotkey]''+''[L2]''/''[R2]'' command while in-game? Only for Libretro cores, however. The shaders switched between here aren't necessarily the same as the shader sets that Batocera can use (you should really be using shader sets instead of this hot-swapping method), but it can be convenient to quickly compare shaders without having to constantly exit and relaunch a game. +
 First, gather the shaders/filters (''*.glsl'' and ''*.slang'' files **without** the ''p'' at the end) it depends on and copy them into a new ''/usr/share/batocera/shaders/shaders'' subfolder [[:modify_the_system_while_it_s_running|on the Batocera machine itself]]. Then copy the shader presets (''*.glslp''/''*.slangp'' files **with** the ''p'' at the end) from the directory its in (for example, /vhs) to ''usr/share/batocera/shaders''. Your file paths should look like so: First, gather the shaders/filters (''*.glsl'' and ''*.slang'' files **without** the ''p'' at the end) it depends on and copy them into a new ''/usr/share/batocera/shaders/shaders'' subfolder [[:modify_the_system_while_it_s_running|on the Batocera machine itself]]. Then copy the shader presets (''*.glslp''/''*.slangp'' files **with** the ''p'' at the end) from the directory its in (for example, /vhs) to ''usr/share/batocera/shaders''. Your file paths should look like so:
  
  • emulationstation/shaders_set.1712438475.txt.gz
  • Last modified: 2 years ago
  • by duglim