Changes

Jump to navigation Jump to search

Shader Presets

1,355 bytes removed, 18 April
m
External Links
{{WIP}}
Shader Presets are combinations of one or more shaders. The Shader Chain which 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 misconception about shaders; Generally, you really can't copy+paste shaders between two different programs even if they support same extension like .glsl, not unless they know how their shaders are structured and what kind of input they need 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>
 
;Before diving in;
;*Some of the [[Shader Presets]] mentioned below include [[shaders and filters]] that are already available as enhancement/adjustment option (such as [https://www.nvidia.com/content/Control-Panel-Help/vLatest/en-us/mergedProjects/nvdsp/To_use_Digital_Vibrance_to_make_your_desktop_colors_richer.htm digital vibrance]) in your [https://www.pcgamingwiki.com/wiki/Category:Graphics_Adaptor GPU driver control panel] or from your digital [[displays|display]] OSD. Some of those things may cause color clipping, exposure issues (due to using excessive digital adjustments to image) and [[Input lag]]. It's recommended to avoid usage of color or excessive image options/filters. But you can use [[Displays|analog device/CRT]]'s OSD adjustments. Another proper option for this using the RTX Dynamic Vibrance option (See [[Shaders and filters#AI-powered filters]]) to avoid color crashing and top of that using a HDR device with [[High_dynamic_range#Inverse_tone_mapping|Inverse tone mapping]].
==RetroArch/Libretro==
===[https://forums.libretro.com/t/sonkun-s-crt-guest-advanced-slot-mask-presets-thread/39091 Sonkun’s crt-guest-advanced-hd presets]===
[[File:Sonkun megadrive.jpeg|thumb|298px|ntsc preset Megadrive version]]
A mix of basic crt attributes that invokes a nostalgic vibe with a modern twist, based on [https://forums.libretro.com/t/new-crt-shader-from-guest-crt-guest-advanced-updates/25444 @guest.r’s crt advanced hd and ntsc shader] combined with a variation of [https://forums.libretro.com/t/dogways-grading-shader-slang/27148/442 @Dogway’s grade shader].
3 shader preset folders for 3 monitor types: 1080p, 1440p and 4k so whichever monitor you have, you can choose the right shader resolution for your monitor type. These presets were designed to be used on these three resolution types only. Not OLED, 720p or other random resolutions, if you use it on any type of display besides those 3 standard displays [http://forums.libretro.com/u/sonkun Sonkun] may not be able to help if you run into any issues. If they end up looking ok to you on your display regardless then game on. 64 shader presets to choose from per folder with 3 different phosphor types for USA, Japan and PAL that come in both color temp and multiple cable types to choose from included (representing 4 cable types to choose from: rf, composite, s-video and rgb and 3 composite types to choose from: standard, artifacts and Megadrive rainbow. Also S-Video presets includes [https://github.com/Hyllian Hyllian]’s “sgenpt-mix multpass” shader to take care of checkerboard dithering and lite vertical line dithering)
</small>
====Extra Presets Other notable presets for HSM project====
These presets are tested and developed for use in conjunction with the HSM's Mega Bezel.
[[File:Duimon's NGP-NGPC preset.jpeg|thumb|298px|Duimon's Neo Geo Pocket/Color preset]]
<div style="height:20em; width:500px; overflow:auto; border:2px solid black;">
{| class="wikitable" style="text-align:center;"
! scope="col"|Features
|-
|
Back-Ups Arcade relies of three pieces of software to make it work:
 
<small>
<div style="height:8em; width:500px; overflow:auto; border:2px solid black;">
{| class="wikitable" style="text-align:center;"
|-
|
* Attract Mode Plus: The front end.
* RetroArch: The back end.
* RocketLauncher: The intermediary software used for game fades and pause menu.
|}
</div>
</small>
'''For more information;'''
==[https://reshade.me/#download ReShade]==
ReShade is a '''generic post-processing injector''' for games and video software developed by [https://github.com/crosire crosire]. Similar to libretro, shader effects are saved with a special extension:".fx", and again similar to libretro you can tweak them to fit your needs or create your own custom preset. '''For preset file location look for ReShade.ini and "CurrentPresetPath=", and it will tell you the location'''. Latest [[Duckstation]] release builds comes with [[PlayStation_emulators#Enhancements|ReShade .fx shader support]].
.fx'''h''' for '''fx'''
 
And again similar to libretro you can tweak them to fit your needs or create your own custom preset. '''For preset file location look for ReShade.ini and "CurrentPresetPath=", and it will tell you the location'''.<br/>
Latest [[Duckstation]] release builds comes with [https://github.com/stenzek/duckstation/commit/8a40c7bf944b3a4209d90134a379c9d1f0cc7e20 ReShade .fx shader support].
 
===Notable presets for ReShade===
====[https://github.com/MajorPainTheCactus/SonyMegatron-ReShade Sony Megatron ReShade Port (HDR)]====
:For using this preset you need [[#Notable_shaders_for_using_with_ReShade_Presets|AutoHDR]] add-on for ReShade.
====[https://disk.yandex.ru/d/JO3NUIa0r1X45w Vasiliy.M.'s PCSX2 CRT]====
:<small>[https://youtu.be/dpSi5yn2emY?t=18 (Demonstration)]</small>
====[https://github.com/frankschoeman/kyubus-shader kyubus Retro CRT]====
:<small>[https://www.youtube.com/@kyubus7814/videos (Demonstration)]</small>
::Kyubus Retro CRT is a collection of Reshade and RetroArch retro CRT presets using existing shaders such as [[CRT_shaders#CRT-Guest-Advanced|CRT-Guest]], [[CRT_shaders#CRT-Royale|CRT-Royale]] and [[CRT_shaders#CRT-Lottes|CRT-Lottes]]. ::These presets are mainly developed on a monitor resolution of 1440p but presets for 1080p and 4k monitors are included.
::To make the lower resolution shader display correctly RetroArch (or any emulator) integer scaling needs to be switched ON (Settings>video>scaling). GaussianBlur, LumaSharpen and Deband(range) are probably the first parameters you might want to adjust depending on the resolution of the content and your preferences. [https://github.com/frankschoeman frankschoeman] also recommend trying RetroArch shaders underneath such as "/xbr/super-xbr-fast.slangp"(Set Input and Output gamma to 1.0 in shader parameters) and "/cubic/catmull-rom-fast.slangp". In case those aren't available [https://github.com/frankschoeman frankschoeman] suggest setting the preset to one where GaussianBlur is enabled.
====[https://1drv.ms/u/s!Akfc1OCPWC-sg9BB3R1LG2SjK66Cvg?e=nxVGTe AirCon's Retro CRT]====
:<small>[https://www.youtube.com/watch?v=wp_ha411BgY (Demonstration)]</small>
::Mimics blurry, lightbleeding, uncalibrated inexpensive 8~90's CRT.
====Notable shaders for using with ReShade Presets====
These are not shader presets. But you can create your own custom preset using these .fx shadersSee [[Shaders_and_filters#Notable_ReShade_shaders|this section]].
<small><div style="height:25em; width:500px; overflow:auto; border:2px solid black;">{| class="wikitable" styleSpecial K="text-align:center;"|-|[https://www.patreon.com/mcflypg Pascal Gilcher's <abbr title="Screen-Space Ray Traced Global Illumination shader">RTGI shader</abbr>] ($):Developed by [https://twitter.com/mcflypg Pascal "Marty McFly" Gilcher], RTGI & '''Screen-Space''' Ray Traced Global Illumination is an upcoming shader for ReShade which make use of Path Tracing to bring Real Time Global Illumination to every games. Global Illumination is certainly not something new for games but unlike conventional Baked / Precomputed Realtime GI, Marty McFly's Path Traced solution can provide a way more realistic and physically correct Global Illumination for every game. <ref>See [https://www.youtube.com/watch?v=ZOPgXRZSvzQ Ray Tracing Revolution's video about RTGI]</ref>::Reshade needs [https://www.youtube.com/watch?v=zMceMD9OzIE '''depth buffer access'''] to make the RTGI shader work properly.[https://framedsc.com/ReshadeGuides/lutgenguide.htm qUINT lightroom]:LUTs (Look-up Tables) are a cheap and simple way of changing the colours of your game without having to rely on a huge stack of shaders that eats at your performance. You can use them to make in-game colours look more natural (colour correction), or give your game a certain stylised look (colour grading).[https://gist.github.com/martymcmodding/69c775f844124ec2c71c37541801c053 qUINT Motion Estimation]:Injecting TAA and per-object motion blurs into games[https://twitter.com/Dachsjaeger/status/1566850012163735552 *].[https://github.com/martymcmodding/qUINT/blob/master/Shaders/qUINT_mxao.fx qUINT MXAO] ():Alternative to RTGI but there is no need to use MXAO, as RTGI does what it does much better.[https://githubpcgamingwiki.com/lordbean-gitwiki/HQAA lordbean HQAA]Special_K PCGamingWiki:Post-rendering Anti-Aliasing.[https://github.com/lordbean-git/ASSMAA lordbean ASMAASpecial K page]:Post-rendering Anti-Aliasing.[https://github.com/MajorPainTheCactus/AutoHDR-ReShade AutoHDR]:This add on is ideally intended to be used with the Sony Megatron ReShade Port Presets.[https://github.com/Matsilagi/RSRetroArch/ matsilagi's RSRetroArch]:Repository of RetroArch and retro-related shaders / shaders from programs, ported for ReShade[https://github.com/akgunter/crt-royale-reshade akgunter's crt-royale-reshade]:This is a port of the crt-royale shader by TroggleMonkey from RetroArch/libretro to ReShade 4.9+.[https://forums.libretro.com/t/crt-guest-advanced-hd-and-ntsc-for-reshade/41880 DevilSingh's CRT-Guest-Advanced, HD and NTSC for ReShade]|}</div></small>
==[https://github.com/mausimus/ShaderGlass/releases ShaderGlass]==
:You can find [https://github.com/SnowflakePowered/librashader librashader on GitHub].
:Reddit thread: [https://old.reddit.com/r/emulation/comments/17tgpqf/has_there_been_any_interest_in_librashader_support/ Has there been any interest in librashader support?]
::with v137 version, [[Ares]] emulator integrated librashader support thanks to [https://github.com/ares-emulator/ares/pull/1397 this pull request].
==Future==
*[[Shaders_and_filters|Shaders and filters]]
*[[NTSC_filters|NTSC filters]]
*[[High dynamic range]] (HDR)
==External Links==
<small>
<div style="height:17em; width:620px; overflow:auto; border:2px solid black;">
{| class="wikitable" style="text-align:center;"
|-
|
*[https://forums.libretro.com/c/retroarch-additions/retroarch-shaders RetroArch Additions - Shaders]
*[https://reshade.me/forum/shader-discussion/6140-reshade-shaders-repository-index Reshade Shaders Repository Index]
*[https://www.youtube.com/watch?v=OIagIphxSwg "Integrum Retro" showcasing shader presets and overlays]
*"Retro Crisis" showcasing [https://www.youtube.com/watch?v=vDcmPpDUZwA Sonkun's presets], [https://www.youtube.com/watch?v=rEcUOEK8j3c Sonkun's NEW presets with new guest.r shaders], [https://www.youtube.com/watch?v=qhjXeo6e44Q CyberLab's NEW version of CRT-Royale], [https://www.youtube.com/watch?v=VghduLw79-E CyberLab Megatron 4K HDR], [https://www.youtube.com/watch?v=yNmJ0n-QMCY CyberLab's NEW Megatron presets for Death To Pixels Shader preset packs], [https://www.youtube.com/watch?v=_oM1SCv48-E Retro-Crisis-GDV-NTSC NEW PlayStation presets] and podcasts with [https://www.youtube.com/watch?v=9jtpXtJbRps Hyperspace Madness - Creator of Mega Bezel] and [https://www.youtube.com/watch?v=hu3mtPbfMTk CyberLab - Creator of Mega Bezel Death To Pixels Shader Preset Pack]
|}<*[https:/div></small>forums.libretro.com/t/please-show-off-what-crt-shaders-can-do/19193?page=303 libretro forum: what crt shaders can do]
[[Category:FAQs]]
[[Category:Shaders/Filters]]
10,933
edits

Navigation menu