Editing Shaders and filters
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | Shaders and filters can be applied to video games to | + | Shaders and filters can be applied to video games to achieve some kind of visual effect. These can be from attempting to replicate [[Recommended Displays|aperture grille]] displays, NTSC cables, or something more exotic. |
==Emulator support== | ==Emulator support== | ||
Line 8: | Line 8: | ||
|- | |- | ||
| style="text-align: center;"|[[RetroArch]] | | style="text-align: center;"|[[RetroArch]] | ||
− | |.cg, .cgp, . | + | |.cg, .cgp, .filter, .shader |
| | | | ||
− | + | .shader only can be used through phoenix, not RGUI. | |
− | |||
− | .cgp stacks several .cg files on top of one another | + | Filters from bsnes v82 and below work in RetroArch. |
+ | |||
+ | .cgp stacks several .cg files on top of one another. | ||
|- | |- | ||
| style="text-align: center;"|[[DOSBox]] | | style="text-align: center;"|[[DOSBox]] | ||
Line 19: | Line 20: | ||
|Only on special builds such as [http://ykhwong.x-y.net/ SVN Daum]. | |Only on special builds such as [http://ykhwong.x-y.net/ SVN Daum]. | ||
|- | |- | ||
− | | style="text-align: center;"|[[ | + | | style="text-align: center;"|[[Higan]] |
− | |.filter, | + | |.filter, |
| | | | ||
− | .shader removed in future higan releases | + | .shader removed in [http://board.byuu.org/viewtopic.php?f=10&t=3806 future higan releases], |
− | . | + | .fiter works in old [[bsnes|higan]] Not current Higan. |
|- | |- | ||
− | | style="text-align: center;"|[[ | + | | style="text-align: center;"|[[HqMAME]] |
|.fx | |.fx | ||
− | | | + | | |
|- | |- | ||
− | | style="text-align: center;"|[[ | + | | style="text-align: center;"|[[OpenEMU]] |
|.cg, | |.cg, | ||
− | | | + | | |
|- | |- | ||
| style="text-align: center;"|[[Snes9x]] | | style="text-align: center;"|[[Snes9x]] | ||
Line 42: | Line 43: | ||
|Only with a [http://www.lanpartyguide.com/zelda/shaders.html custom Rice Video plugin]. | |Only with a [http://www.lanpartyguide.com/zelda/shaders.html custom Rice Video plugin]. | ||
|- | |- | ||
− | | style="text-align: center;"|[[PCSX- | + | | style="text-align: center;"|[[PCSX-R]] |
|.slv/.slf, .vp/.fp | |.slv/.slf, .vp/.fp | ||
|Requires Pete's OpenGL2 or gpuBladeSoft. | |Requires Pete's OpenGL2 or gpuBladeSoft. | ||
Line 48: | Line 49: | ||
| style="text-align: center;"|[[ePSXe]] | | style="text-align: center;"|[[ePSXe]] | ||
|.slv/.slf, .vp/.fp | |.slv/.slf, .vp/.fp | ||
− | |||
− | |||
− | |||
− | |||
| | | | ||
+ | Requires Pete's OpenGL2 or gpuBladeSoft. | ||
|- | |- | ||
| style="text-align: center;"|[[PCSX2]] | | style="text-align: center;"|[[PCSX2]] | ||
|.fx | |.fx | ||
− | |Must be named shader.fx and be in the main directory. PageUp to activate. | + | | |
+ | |||
+ | Support added in r5390 (after v1.0.0) Must be named shader.fx and be in the main directory. PageUp to activate. | ||
|- | |- | ||
| style="text-align: center;"|[[Dolphin]] | | style="text-align: center;"|[[Dolphin]] | ||
− | |.txt | + | |.txt |
|Can only be used with OpenGL backend. | |Can only be used with OpenGL backend. | ||
|- | |- | ||
Line 70: | Line 70: | ||
|GLSL equiv. of cgp - possible to stack several shaders with this. | |GLSL equiv. of cgp - possible to stack several shaders with this. | ||
|} | |} | ||
− | |||
− | |||
− | |||
==Types== | ==Types== | ||
− | [[File:Crt-geom.png|thumb|190px|crt-geom-flat.cg, a popular CRT shader.]] | + | {{Main|List of shaders and filters}} |
+ | [[File:Crt-geom.png|thumb|190px|crt-geom-flat.cg, a popular CRT shader. ]] | ||
===CRT Shaders=== | ===CRT Shaders=== | ||
{{Main|CRT Shaders}} | {{Main|CRT Shaders}} | ||
− | + | These replicate aperture grille CRTs, which have sharp images and strong scanlines. They do not replicate shadowmask CRT displays. | |
===NTSC Filters=== | ===NTSC Filters=== | ||
− | {{Main|NTSC | + | {{Main|NTSC filters}} |
− | These | + | These replicate the cables used to connect the system to the TV. They vary in quality, with the lowest being RF, then composite, then s-video and RGB (scart) being the highest quality. Many systems have NTSC filters built into them. They can also be separately downloaded in .filter format. |
+ | ===GameBoy Shader=== | ||
+ | [[File:Gb.png|thumb|190px|GameBoy Shader with default urine palette. Other palettes are available.]] | ||
− | + | This .cgp shader replicates the dot matrix screen of a Game Boy, complete with the ghosting problems to reproduce certain visual effects. Made by Harlequin. Requires [[RetroArch]]. | |
− | |||
− | |||
− | |||
− | |||
− | |||
===Smoothing shaders=== | ===Smoothing shaders=== | ||
− | These shaders, such as 2xSai, Super Eagle, Super 2xSai, scaleX, HQx | + | These shaders, such as 2xSai, Super Eagle, Super 2xSai, scaleX, xBR, HQx or xBRZ attempt to reduce the pixellation by smoothing and rounding. They can cause a lot of false positives and distortions, however, scaling the image 2x or 3x using nearest neighbor, then applying the smoothing shader will reduce the intensity of the smoothing by keeping the pixel shapes intact, eliminating most distortions while keeping a fairly smooth look. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Dithering=== | ===Dithering=== | ||
− | |||
− | |||
− | |||
− | |||
− | [[ | + | These are shaders designed to detect and smooth [[dithering]]. [https://github.com/libretro/common-shaders/tree/master/dithering mdapt] is a popular one.There is also newer gdapt. |
− | + | ||
− | |||
− | |||
===Pixellate=== | ===Pixellate=== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | This shader is supposed to appear the same as nearest neighbor (aka "unfiltered"), except with minor corrections when using a non-integer scale that are increasingly less noticeable the higher it is scaled. This shader is very useful to anyone who wants to keep things as sharp as possible without worrying about scale factors. Available in [http://gitorious.org/bsnes/xml-shaders/blobs/master/shaders/OpenGL/v1.0/Pixellate.shader XML] and [https://github.com/libretro/common-shaders/blob/master/pixellate.cg Cg] shader formats. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Downloads== | ==Downloads== | ||
− | + | [https://github.com/libretro/common-shaders Libretro cg shaders] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [http://www.emucr.com/2013/04/snes9x-cg-shaders-pack-20130427.html Snes9x cg shader pack] | |
− | + | NTSC filters: [http://www.mediafire.com/?356uu02o7oxw0u1 Win32] [http://www.mediafire.com/?62p83g46s95v44r Win64] [http://www.mediafire.com/?bqnp2etqkq3fkz1 Linux32] [http://www.mediafire.com/?01747etfqs8tt6g Linux64] [http://www.mediafire.com/?l5abvq3077cuqvt MacOS] | |
− | + | [http://www.emucr.com/2013/04/epsxe-shaders-pack-20130427.html PS1 shaders] | |
+ | [http://www.mediafire.com/?icqpvoc65omra75 PS2 shaders] | ||
==Further reading== | ==Further reading== | ||
[http://filthypants.blogspot.com/search/label/pixel%20shader All things shaders and filters] | [http://filthypants.blogspot.com/search/label/pixel%20shader All things shaders and filters] | ||
− | [https://github.com/ | + | [https://github.com/Themaister/Emulator-Shader-Pack/blob/master/Cg/README Cg shader spec]. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:FAQs]] | [[Category:FAQs]] | ||
[[Category:Shaders/Filters]] | [[Category:Shaders/Filters]] | ||
− |