Skip to content
Libretro Docs
Shader Preview Template
Initializing search
libretro/docs
About
Start
For Users
For Developers
Contribute to the Docs
Support
Libretro Docs
libretro/docs
About
Start
Start
Understanding
Installation
Love at first sight
Last Station
For Users
For Users
Getting Started
Getting Started
Windows
Windows
Windows 7/8/8.1/10/11
Windows 2000/ME/98SE
GNU/Linux
Apple
Apple
macOS
iOS/tvOS
Android
Nintendo
Nintendo
Switch
3DS/2DS Family
Sony
Sony
PlayStation Portable
PlayStation Vita
PlayStation 2
PlayStation 3
PlayStation Classic
Others
Others
Lakka
Lakka
Installing
Building
Ludo
Ludo
Installing
Building
Steam Link
Web Player
Sega Genesis Mini
Facebook Portal
User Guides
User Guides
User Interface
Input and Controls
Starting a Game
Controller Auto-Configuration
Installing Cores
Core List
Directory Configuration
File Browser
Launching Content
Menu Styles
Quick Menu
Importing Content
Shaders
Overrides: Content/Folder/Core-Specific Settings
Cheat/Rumble Codes
Input Overlays
Overlay Mouse & Lightgun
What is BIOS?
Netplay
Netplay
FAQ
Getting Started
Multiple Controllers
RetroAchievements
Disc Swapping
Softpatching ROMs
Accessibility
Accessibility
Quick Start
Guide
Video Recording and Streaming
Troubleshooting
Generating Logs
RetroArch Cloud Sync (Apple Devices)
Appearance & Customization
Appearance & Customization
Interface Styles
Interface Styles
GLUI Interface
Ozone Interface
RGUI Interface
XMB Interface
Creating a Theme
Playlists and Thumbnails
XMB Menu Map
Advanced
Advanced
AI Service
Command-Line Interface (CLI)
CRT SwitchRes
Input and Controller Drivers
Latency
LED Drivers
Linux KMS Mode
Optimal Vsync Performance
Raspberry Pi
Run Ahead
Lakka Documentation
Core Library: Emulation
Core Library: Emulation
Getting Started with Arcade Emulation
Getting Started with MAME Software List Emulation
BIOS Information Hub
3DO Emulation
3DO Emulation
The 3DO Company - 3DO (Opera)
3DO Compatibility List
Acorn Emulation
Acorn Emulation
Acorn - BBC Micro (b2)
Amstrad Emulation
Amstrad Emulation
Amstrad - CPC (Caprice32)
Amstrad - CPC (CrocoDS)
Apple
Apple
Apple - Macintosh (minivmac)
Arcade Emulation
Arcade Emulation
Arcade (FinalBurn Neo)
Arcade (MAME 2003)
Arcade (MAME 2003-Plus)
Arcade (MAME 2010)
Arcade (SAME_CDI)
Arduboy
Arduboy
Ardens
Atari Emulation
Atari Emulation
Atari - Jaguar Compatibility List
Atari - Lynx Compatibility List:
Atari - 2600 (Stella)
Atari - 7800 (ProSystem)
Atari - 5200 (Atari800)
Atari - Jaguar (Virtual Jaguar)
Atari - Lynx (Beetle Lynx)
Atari - Lynx (Handy)
Atari - Lynx (Holani)
Atari - ST/STE/TT/Falcon (Hatari)
Bandai Emulation
Bandai Emulation
Bandai - WonderSwan/Color (Beetle Cygne)
Bandai - Wonderswan Compatibility List
ColecoVision Emulation
ColecoVision Emulation
ColecoVision (Gearcoleco)
MSX/SVI/ColecoVision/SG-1000 (blueMSX)
Commodore Emulation
Commodore Emulation
Commodore - 8-bit (VICE)
Commodore - Amiga (PUAE)
DOS Emulation
DOS Emulation
MS - DOS (DOSBox)
MS - DOS (DOSBox Pure)
MS - DOS (VirtualXT)
Enterprise Emulation
Enterprise Emulation
Enterprise 128 (ep128emu)
Elektronika
Elektronika
Elektronika - BK-0010/BK-0011 (bk)
GCE Emulation
GCE Emulation
GCE - Vectrex (vecx)
Magnavox Emulation
Magnavox Emulation
Magnavox - Odyssey2 / Philips Videopac+ (O2EM)
Mattel Emulation
Mattel Emulation
Mattel - Intellivision (FreeIntv)
Microsoft Emulation
Microsoft Emulation
Microsoft - MSX (fMSX)
MSX/SVI/ColecoVision/SG-1000 (blueMSX)
Nintendo Emulation
Nintendo Emulation
Nintendo - DS Compatibility List
Nintendo - Game Boy Advance Compatibility List
Nintendo - Game Boy Color Compatibility List
Nintendo - NES Compatibility List
Nintendo - SNES Compatibility List
Nintendo - Game Boy / Color (Emux GB)
Nintendo - Game Boy / Color (Gambatte)
Nintendo - Game Boy / Color (SameBoy)
Nintendo - Game Boy / Game Boy Color (TGB Dual)
Nintendo - Game Boy / Color (Gearboy)
Nintendo - Game Boy Advance (Beetle GBA)
Nintendo - Game Boy Advance (gpSP)
Nintendo - Game Boy Advance (Meteor)
Nintendo - Game Boy Advance (mGBA)
Nintendo - Game Boy Advance (TempGBA)
Nintendo - Game Boy Advance (VBA Next)
Nintendo - Game Boy Advance (VBA-M)
Nintendo - GameCube/Wii (Dolphin)
Nintendo - NES (bnes)
Nintendo - NES / Famicom (Emux NES)
Nintendo - NES / Famicom (FCEUmm)
Nintendo - NES / Famicom (Mesen)
Nintendo - NES / Famicom (Nestopia UE)
Nintendo - NES / Famicom (QuickNES)
Nintendo - 3DS (Citra)
Nintendo - 3DS (Citra Canary/Experimental)
Nintendo - Nintendo 64 (Mupen64Plus)
Nintendo - DS (DeSmuME 2015)
Nintendo - DS (DeSmuME)
Nintendo - DS (melonDS)
Nintendo - Pokémon Mini (PokeMini)
Nintendo - SNES / Famicom (Beetle bsnes)
Nintendo - SNES / Famicom (bsnes Accuracy)
Nintendo - SNES / Famicom (bsnes Balanced)
Nintendo - SNES / Famicom (bsnes C++98 (v085))
Nintendo - SNES / Famicom (bsnes Performance)
Nintendo - SNES / Famicom (bsnes-mercury Accuracy)
Nintendo - SNES / Famicom (bsnes-mercury Balanced)
Nintendo - SNES / Famicom (bsnes-mercury Performance)
Nintendo - SNES / Famicom (higan Accuracy)
Nintendo - SNES / Famicom (nSide Balanced)
Nintendo - SNES / SFC / Game Boy / Color (Mesen-S)
Nintendo - SNES / Famicom (Snes9x 2002)
Nintendo - SNES / Famicom (Snes9x 2005 Plus)
Nintendo - SNES / Famicom (Snes9x 2005)
Nintendo - SNES / Famicom (Snes9x 2010)
Nintendo - SNES / Famicom (Snes9x)
Nintendo - Virtual Boy (Beetle VB)
NEC Emulation
NEC Emulation
NEC - PC-FX Compatibility List
NEC - PC-8000 / PC-8800 series (QUASI88)
NEC - PC-98 (Neko Project II Kai)
NEC - PC Engine SuperGrafx (Beetle SGX)
NEC - PC Engine / CD (Beetle PCE FAST)
NEC - PC-FX (Beetle PC-FX)
Philips Emulation
Philips Emulation
Magnavox - Odyssey2 / Philips Videopac+ (O2EM)
Philips - P2000T (M2000)
RISC-V Emulation
RISC-V Emulation
RVVM - RISC-V Virtual Machine
SNK Emulation
SNK Emulation
SNK - Neo Geo AES / MVS (Geolith)
SNK - Neo Geo Pocket / Color (Beetle NeoPop)
SNK - Neo Geo Pocket / Color (RACE)
Sega Emulation
Sega Emulation
Cannonball
Sega - 32X Compatibility List
Sega - Dreamcast Compatibility List
Sega - Saturn Compatibility List
Sega - Dreamcast (flycast)
Sega - Dreamcast (redream)
Sega - Dreamcast VMU (VeMUlator)
Sega - Master System (Emux SMS)
Sega - MS/GG (SMS Plus GX)
Sega - MS/GG/SG-1000 (Gearsystem)
Sega - MS/GG/MD/CD (Genesis Plus GX)
Sega - MS/MD/CD/32X (PicoDrive)
Sega - MD/CD (BlastEm)
Sega - Saturn (Beetle Saturn)
Sega - Saturn/ST-V (Kronos)
Sega - Saturn (Yabause)
Sega - Saturn (YabaSanshiro)
MSX/SVI/ColecoVision/SG-1000 (blueMSX)
Sharp Emulation
Sharp Emulation
Sharp - X68000 (PX68k)
Sinclair Emulation
Sinclair Emulation
Sinclair - ZX 81 (EightyOne)
Sinclair - ZX Spectrum (Fuse)
Sony Emulation
Sony Emulation
Sony - Playstation Compatibility List
Sony - PlayStation (Beetle PSX)
Sony - PlayStation (Beetle PSX HW)
Sony - PlayStation (PCSX ReARMed)
Sony - PlayStation 2 (PCSX2)
Sony - PlayStation 2 (Play!)
Sony - PlayStation Portable (PPSSPP)
Super Cassette Vision
Super Cassette Vision
Super Cassette Vision (EmuSCV)
SpectraVision Emulation
SpectraVision Emulation
MSX/SVI/ColecoVision/SG-1000 (blueMSX)
Texas Instruments Emulation
Texas Instruments Emulation
Texas Instruments - TI-83 (Numero)
Thomson Emulation
Thomson Emulation
Thomson - MO/TO (Theodore)
MegaDuck Emulation
MegaDuck Emulation
Welback Holdings - Mega Duck (SameDuck)
Core Library: Game and Scripting Engines
Core Library: Game and Scripting Engines
2048
3D Engine
Anarch
Cave Story (NXEngine)
Cannonball
ChaiLove
CHIP-8 Emulation
CHIP-8 Emulation
XO-CHIP/CHIP-8 (JAXE)
CHIP-8 (Emux)
Dinothawr
Doom (PrBoom)
Doom 3 (Boom3)
Dungeon Crawl Stone Soup
Flashback (REminiscence)
Handheld Electronic (GW)
Jump n Bump
LowRes NX
Lua Engine (Lutro)
MicroW8
Minecraft (Craft)
Mr.Boom (Bomberman)
Quake 1 (TyrQuake)
Rick Dangerous (XRick)
RPG Maker 2000/2003 (EasyRPG)
ScummVM
The Powder Toy
TIC-80
Tomb Raider (OpenLara)
Uzebox (Uzem)
VaporSpec
Vircon32
WebAssembly (WASM-4)
Wolfenstein 3D (ECWolf)
Core Library: Media
Core Library: Media
Imageviewer
FFmpeg
Game Music Emu
PocketCDG
Video Processor
Core Library: Special-Purpose
Core Library: Special-Purpose
Dummy Core
Remote RetroPad
Shader Library
Shader Library
Introduction
3dfx
antialiasing
autobox
border
blurs
cel
cgp
crt
crt-royale
cubic
ddt
dithering
eagle
handheld
handheld-border
hqx
linear
motionblur
mudlord
nedi
nnedi3
ntsc
presets
retro
sabr
scalefx-OLD-shaders
scalefx
scalehq
scalenx
sharpen
windowed
xbr
xbrz
xsal
xsoft
For Developers
For Developers
Libretro API and Ecosystem
Libretro API and Ecosystem
Libretro Overview
Open Source Bounties
Input API
Coding Standards
Licenses
Frontends
RetroArch Development
RetroArch Development
Glossary
Debugging
Adding Menu Entries
Input
Input
Input Driver Specification
Input Overlays
Parallel Port Controllers
Adding New Languages to RetroArch
Helping With RetroArch Translations
Network Protocols
Network Protocols
Netplay
Network Control Interface
RetroArch Compilation Guides
RetroArch Compilation Guides
Apple
Apple
macOS
iOS/tvOS
Android
Linux and BSD
Linux and BSD
Overview for Linux/BSD
Ubuntu
Haiku
Microsoft
Microsoft
Windows 7 and later (MSYS2)
MSVC Compatibility Guide
Windows XP and later (MSVC2010)
Windows XP and later (MSVC2010)
MSVC Commandline
MSVC IDE
Windows 2000 and later (MSVC2008)
Windows 2000 and later (MSVC2008)
MSVC Commandline
MSVC IDE
Windows 98SE/ME/2000 (MSVC2005)
Windows 98SE/ME/2000 (MSVC2005)
MSVC Commandline
MSVC IDE
Windows 95/98/NT4 (MSVC2003)
Windows 95/98/NT4 (MSVC2003)
MSVC Commandline
Windows NT3.51 (MSVC6)
Windows NT3.51 (MSVC6)
MSVC Commandline
DOS
Nintendo
Nintendo
Nintendo 3DS
Nintendo GameCube
Nintendo Wii
Nintendo Wii U
Nintendo Switch (libnx)
Sony
Sony
PlayStation2
PlayStation Portable
PlayStation Vita/TV
Core Development
Core Development
Core Development Overview
Dynamic Rate Control for Emulators
OpenGL Accelerated Cores
Core-Specific Docs
Core-Specific Docs
Nintendo - GameCube/Wii (Dolphin)
Nintendo - GameCube/Wii (Ishiiruka)
Sega - Dreamcast/NAOMI (Flycast)
Sony - PlayStation (SwanStation)
Sony - PlayStation2 (PCSX2)
MAME (0.181-current)
MAME 2016
MAME 2003-Plus
Shader Development
Shader Development
Shader Development Overview
Slang Shader Development
GLSL Shader Development
Cg Shader Development (deprecated)
XML Shader Development (discontinued)
Content-Aware Shaders
Shader Lookup Textures
Contribute to the Docs
Contribute to the Docs
Adding or Editing Documentation
Core Template
Shader Preview Template
Shader Preview Template
Table of contents
Background
Comments
External Links
See Also
Support
Support
Privacy Policy
Quick informations
Developing Cores
Table of contents
Background
Comments
External Links
Title
¶
Background
¶
Comments
¶
External Links
¶
Slang Shaders
GLSL Shaders
CG Shaders
Back to top