Changes

Jump to navigation Jump to search

Shaders and filters

30 bytes removed, 23:54, 9 September 2016
m
no edit summary
===LCD Shaders===
[[File:Lcd-grid.png|thumb|256px|cgwg's lcd-grid-v2 shader with GBA colors.]]
These replicate the look of a low resolution LCD display common on handhelds. These can range from a simple grid drawn around the pixels to a detailed recreation of each pixel's RGB subpixels. May also include motion blurring to simulate ghosting and washed out color gamuts.
===GameBoy Shader===
[[File:Gb.png|thumb|190px189px|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===
These shaders, such as 2xSai, Super Eagle, Super 2xSai, scaleX , HQx , xBR and xBRZ attempt to reduce the pixellation pixelation 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===
===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 [https://github.com/hizzlekizzle/quark-shaders/tree/master/Pixellate.shader Quark] and [https://github.com/libretro/common-shaders/blob/master/retro/shaders/pixellate.cg Cg] shader formats.
===Border===
===Image Adjustment===
Image adjustment shaders allow you to adjust the color levels of an image, including gamma, luminance, contrast, saturation, etc.and so on, for personal preference, accuracy, or compensating your display. Very oftenOften, these are used alongside other shaders. There are also [https://github.com/libretro/common-shaders/tree/master/handheld/shaders/color shaders] that simulate the color profiles of specific displays, such as the GBA or DS.
==Shaders on real CRTs==
However, CRT monitors (and 15kHz CRTs) displaying in low resolution modes like 240p or 480p, you will find many of them won't work correctly due to the low output resolution. In these cases you should use shaders that are applied only on the horizontal axis, only make changes to color output without scaling, or those that add scanlines/interlacing for 480p output.
You can combine those things with these two shader presets: [https://github.com/libretro/common-shaders/blob/master/cgp/tvout/tvout.cgp tvout.cgp] for 240p and [https://github.com/libretro/common-shaders/blob/master/cgp/tvout%2Binterlacing/tvout%2Binterlacing.cgp tvout+interlacing.cgp] for 480p. Both of these allow you to have adjustable signal resolution blur applied horizontally, as well as color controls like gamma, saturation, and the option to use TV color range (16-235) instead of PC color range (0-255), while the 480p version provides a scanline shader that is interlaced on 480-line content. The signal resolution blur works best if you use a large horizontal resolution (1280 or higher recommended) while keeping your vertical resolution at 240 or 480, and setting the aspect ratio of the emulator to stretch to fit. The higher horizontal resolution will make it look very natural and convincing, avoiding banding issues. Can be combined with NTSC filters/shaders for maximum authenticity, check out the shader presets in [https://github.com/libretro/common-shaders/tree/master/cgp/tvout /cgp/tvout] and [https://github.com/libretro/common-shaders/tree/master/cgp/tvout%2Binterlacing /cgp/tvout+interlacing] for some examples.
==Downloads==
[https://github.com/hizzlekizzle/glsl-shaders Libretro GLSL shader conversion repository]
[https://github.com/libretro/slang-shaders Libretro Vulkan GLSL (.slang) shader repository]
[https://mega.nz/#!OJc0DZwT!I_ulxfrXeNuOUxpE2eSKktSxdIktOxx4uzKMyTNdJYs Border Shaders by EndUser]
19
edits

Navigation menu