Shader presets: Difference between revisions
No edit summary |
|||
| Line 1: | Line 1: | ||
{|class="wikitable" style="text-align:center;width:100;line-height:2;font-size: 130%;" | |||
|- | |||
|colspan=4|Back to ↩[[Shaders, presets, and filters]] | |||
|- | |||
|[[Shaders and filters]] | |||
|[[Shader presets]] | |||
|[[Future of CRT simulation]] | |||
|[[Shaders on real CRTs]] | |||
|} | |||
A shader preset is a combination of one or more shaders. The shader chain is a stack of shader passes, each one pointing to a specific shader file.<ref>[https://docs.libretro.com/guides/shaders/#shader-presets Libretro docs: Shaders]</ref> There is a common misconception about shaders; generally, you can't simply copy and paste shaders between two different programs even if they support the same extension, like .glsl, unless you know how their shaders are structured and what kind of input they expect and output they give.<ref>[https://forums.dolphin-emu.org/Thread-possible-to-create-a-ntsc-s-video-shader-for-dolphin?pid=450879#pid450879 Shonumi's comment about shader extensions and using with different programs]</ref> | A shader preset is a combination of one or more shaders. The shader chain is a stack of shader passes, each one pointing to a specific shader file.<ref>[https://docs.libretro.com/guides/shaders/#shader-presets Libretro docs: Shaders]</ref> There is a common misconception about shaders; generally, you can't simply copy and paste shaders between two different programs even if they support the same extension, like .glsl, unless you know how their shaders are structured and what kind of input they expect and output they give.<ref>[https://forums.dolphin-emu.org/Thread-possible-to-create-a-ntsc-s-video-shader-for-dolphin?pid=450879#pid450879 Shonumi's comment about shader extensions and using with different programs]</ref> | ||