Difference between revisions of "Shaders and filters"

From Emulation General Wiki
Jump to navigation Jump to search
(Emulators that use shaders)
Line 2: Line 2:
 
==File formats==
 
==File formats==
  
*.cg - Cg shader, implemented in RetroArch, OpenEmu and Snes9x/Win32. Spec: [https://github.com/Themaister/Emulator-Shader-Pack/blob/master/Cg/README Cg shader spec].
+
*.cg - Cg shader. Spec: [https://github.com/Themaister/Emulator-Shader-Pack/blob/master/Cg/README Cg shader spec].
  
*.shader - XML/GLSL shader. Removed in [http://board.byuu.org/viewtopic.php?f=10&t=3806 future higan releases], and deprecated in current RetroArch.
+
*.shader - XML/GLSL shader
  
 
*.filter - Works in old [[bsnes]] and [[RetroArch]]. Not current Higan. Filters from bsnes v82 and below work in RetroArch.
 
*.filter - Works in old [[bsnes]] and [[RetroArch]]. Not current Higan. Filters from bsnes v82 and below work in RetroArch.
Line 18: Line 18:
 
|-
 
|-
 
|[[RetroArch]]
 
|[[RetroArch]]
|?
+
|.cg,
|
+
|.shader deprecated in current RetroArch.
 
|-
 
|-
 
|[[Dosbox]]
 
|[[Dosbox]]
Line 27: Line 27:
 
|[[Higan]]
 
|[[Higan]]
 
|?
 
|?
|
+
|. shader Removed in [http://board.byuu.org/viewtopic.php?f=10&t=3806 future higan releases],
 
|-
 
|-
 
|[[MAME]]
 
|[[MAME]]
 
|?
 
|?
 +
|
 +
|-
 +
|OpenEMU
 +
|.cg,
 +
|
 +
|-
 +
|[[Snes9x]]
 +
|.cg,
 
|
 
|
 
|}
 
|}

Revision as of 17:10, 18 July 2013

File formats

  • .shader - XML/GLSL shader
  • .filter - Works in old bsnes and RetroArch. Not current Higan. Filters from bsnes v82 and below work in RetroArch.
  • .cgp - Meta shader. Can stack several .cg files on top of one another.
  • .glsl/.glslp - Same as .cg and .cgp, except using GLSL instead of Cg. Intended to replace the .shader spec in RetroArch.

Emulators that use shaders

Name Shader file types Notes
RetroArch .cg, .shader deprecated in current RetroArch.
Dosbox ?
Higan ? . shader Removed in future higan releases,
MAME ?
OpenEMU .cg,
Snes9x .cg,

Types

crt-geom-flat

CRT Shaders

Main article: CRT Shaders

These replicate aperture grille CRTs, which have sharp images and strong scanlines. If you find that this doesn't look a damn thing like your old TV, it's probably because you owned a shadow-mask style CRT, which has less noticeable scanlines (the easiest way to tell the difference is to feel the curve of the screen; aperture grilles only curve horizontally if at all). Unfortunately, shadow masks require resolutions of upwards of 3000x4000 to emulate accurately, so all we have for the time being are aperture grille shaders.

NTSC Filters

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. They are created by blargg. They are in .filter format.

GameBoy Shader

GameBoy Shader

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.

Downloads

.cg shaders

https://github.com/libretro/common-shaders

http://www.emucr.com/2013/04/snes9x-cg-shaders-pack-20130427.html

.filter files

Win32 Win64  Linux32  Linux64 MacOS


GameBoy Shader

Further reading

All things shaders and filters