Commit Graph

61 Commits

Author SHA1 Message Date
hizzlekizzle
33876b3578
ensure testPattern() always has a return condition
The function is already guarded by a conditional in the shader, so we don't need to worry about pc_testpattern being <1.

This was tripping up D3D compilers via librashader.
2024-09-17 18:11:50 -05:00
hunterk
5ab3c76109
update patchy-ntsc shaders and presets (#637) 2024-09-17 11:29:08 -05:00
PlainOldPants
b9e012f25c
Patchy NTSC - Bunch of last minute improvements (#629)
* Patchy NTSC - Fix hue offset on 2C02E

* Patchy NTSC - Fully update patchy-color.slang

Updated Patchy Color to have all of Patchy NTSC's features.

* Add slangp file for Patchy Color

Now, Patchy Color is officially usable, instead of being hidden and unfinished.

* Patchy NTSC - Add NES real hardware video capture colors

* Patchy NTSC - Fix bizzare incorrect smearing levels

Seriously, why did I leave it like that?

* Patchy NTSC - Don't apply Gen/MD palette on test patterns

* Patchy NTSC - Add chromatic adaptation for some D93 LUTs

* blah

blah

* Patchy NTSC - Set default LUT to Trinitron

* Patchy NTSC - Update presets based on fixed smearing behavior

Returned the hue rotations and saturations to defaults, and increased the threshold for smearing. The defaults don't show the smear out-of-the-box anymore; you will only see it if you turn up your contrast and/or saturation.

* Patchy NTSC - Use video-captured NES color by default
2024-08-29 09:44:23 -05:00
PlainOldPants
4cf85d3147
New NTSC shader by PlainOldPants (#627)
* Add Patchy NTSC

* Patchy NTSC - Improve Genesis/MegaDrive settings

Still matched 100% by eye

* Patchy NTSC - Last minute fixes

Moved patchy-mesen to the nes_raw_palette folder, and added some optional, unfinished gamut correction LUTs.
The LUT step is skipped by default and is clearly labelled as "work in progress" in the settings.
The purpose of including the gamut correction inside an NTSC shader is to encourage the use of more complex methods for gamut conversion. Up to this point, Grade has been the most popular option for that, yet Grade has some less favorable compromises due to the entire gamut conversion process being done in real time.

* Delete ntsc/patchy-mesen-raw-palette.slangp

* Patchy NTSC - Compress LUTs (except P22_80s_D65)

* Update P22-80s (not compressed)

All the LUTs that were compressed had also been updated prior to compressing. This one was updated too, but it was unable to be compressed. It was mistakenly omitted in the commit to update the LUTs.

* Remove notice about work-in-progress LUTs

Just ONE more thing
2024-08-27 18:49:40 -05:00
metallic77
0cededfa7f
ntsc-simple update to glsl version (#626)
* Update ntsc-simple.slangp

* Update ntsc-simple-1.slang

* Update ntsc-simple-2.slang

* Update crt-geom-mini.slang
2024-08-23 11:32:14 -05:00
metallic77
811bb31cdb
port tiny_ntsc (#625)
* Add files via upload

* Add files via upload
2024-08-22 20:37:22 -05:00
metallic77
076081abe5
Update ntsc-mini.slang 2024-03-16 12:04:09 +02:00
metallic77
7b62243af3
Update ntsc-mini.slang 2024-03-15 23:22:29 +02:00
metallic77
435532f92a
add options/tweaks (#558)
* add options/tweaks

* Update ntsc-mini.slang
2024-03-14 08:24:42 -05:00
metallic77
c383e0cfd0
add ntsc-mini (#557)
* Add files via upload

* Add files via upload
2024-03-13 21:01:34 -05:00
metallic77
23f27e2714
update ntsc-simple to current GLSL version (#549)
* Update ntsc-simple-1.slang

* Update ntsc-simple-2.slang
2024-02-20 08:02:10 -06:00
Jobima
89a5f03de8
Update ntsc-adaptive-4x.slangp (#548)
To make it more accurate
2024-02-16 09:18:55 -06:00
Jobima
afb439de93
add old ntsc-adaptive and... (#543)
* add ntsc-adaptive-old

work with https://github.com/libretro/slang-shaders/tree/master/ntsc/shaders/ntsc-adaptive not the guest.r

* add ntsc-adaptive-4x

same as ntsc-adaptive-old but work with upscaled 4x internal resolution
2024-02-11 17:39:47 -06:00
Hyllian
568f85341f
Add Rainbow Effect to ntsc-adaptive
Add the param Artifacting Rainbow Effect.
2024-01-26 13:29:55 -03:00
Hyllian
c6f9c6316c
Update Chroma Scaling. 2024-01-23 18:41:16 -03:00
Tatsuya79
13e4fe4f69
Update ntsc-tate-pass2.slang
Following that: 1ae529c018
2024-01-20 21:13:12 +01:00
hizzlekizzle
1ae529c018
add hyllian's chroma scaling hack 2024-01-18 15:05:21 -06:00
hunterk
6afa4a779f add Sik's NTSC shader ported from blastem 2024-01-16 08:53:40 -06:00
metallic77
8595c3cbea
update ntsc-simple (#520)
* Update ntsc-simple-1.slang

* Update ntsc-simple-2.slang
2023-12-14 08:14:21 -06:00
metallic77
0059f4bdf8
replace ntsc-simple (#519)
* Update ntsc-simple.slangp

* Add files via upload

* Delete ntsc/shaders/ntsc-simple/ntsc-simple.slang
2023-12-12 11:47:10 -06:00
metallic77
41a0112300
update ntsc-simple (#518)
* Delete ntsc/ntsc-simple-hd.slangp

* Update ntsc-simple.slangp

* Update ntsc-simple.slang

* Update ntsc-simple.slang
2023-12-05 14:52:38 -06:00
metallic77
58ea67a83b
update gdv-mini-ultra, port convergence (#515)
* Update crt-gdv-mini-ultra.slang

* Add files via upload

* Add files via upload

* Update ntsc-simple.slang
2023-11-30 10:47:52 -06:00
hunterk
182766b2a1
Point ntsc-adaptive to guest.r's version; add initial cathode-retro port (#514)
* initial cathode-retro port

* move ntsc-adaptive and most associated presets over to use guest.r's modified version

* fix some ctrl^H goofs

* add license blocks to cathode-retro shaders

* updates to cathode-retro; signal stuff is still broken but less so maybe
2023-11-27 07:59:22 -06:00
metallic77
9ed0fc60ed
fine-tune settings (#473)
* fine-tune settings

* add hd version closer to blargg's ntsc

* Update ntsc-simple-hd.slangp
2023-08-19 14:35:19 -05:00
metallic77
b3145db598
port ntsc-simple to slang (#471)
* Update and rename ntsc-feather.slangp to ntsc-simple.slangp

* Update and rename ntsc-feather.slang to ntsc-simple.slang
2023-08-18 08:50:43 -05:00
metallic77
89530c1dec
some ports from GLSL (#466)
* some ports from glsl

* add ntsc-feather

* Add files via upload

* Rename ntsc/shaders/ntsc-feather.slang to ntsc/shaders/ntsc-simple/ntsc-feather.slang

* Update zfast_crt_composite.slang

1:1 with GLSL
2023-07-27 19:35:34 -05:00
hunterk
2b30c6089f
Make a bunch of implicit scaling settings explicit (#375)
* make a bunch of implicit scaling rules explicit and move color shaders before scaling shaders in the handheld directory

* remove extraneous file

* switch vhs from viewport to source scaling
2023-03-20 10:03:42 -05:00
hunterk
c10a40e656
Replace "Original" texture with stock reference pass (#343)
* update shaders that use Original to use a reference pass instead for append/prepend readiness

* remove some extraneous files

* fix super-xbr preset that was already broken apparently
2022-12-23 23:31:11 -06:00
hizzlekizzle
cc988bdeb5
Create analog_overshoot.slang 2022-09-27 10:17:59 -05:00
hunterk
57aa495ca1 cleanup ntsc dir 2022-09-24 09:00:43 -05:00
hunterk
425c3692b0 add dannyld's rainbow preset 2021-11-27 16:06:39 -06:00
Tatsuya79
3075c3c351
update ntsc-tate and some ntsc presets 2021-07-30 16:26:46 +02:00
hunterk
8524a42da5
Add crt-guest-advanced, update other crt-guest, update ntsc-adaptive (#183)
* update crt-guest, add advanced

* re-add some prematurely deleted GDV passes

* fix ntsc res behavior

* disable field-merging on 2-phase to allow MD rainbow artifacting

* remove unused function
2021-07-30 08:24:20 -05:00
Tatsuya79
0a68f836b3
ntsc-adaptive adreno optimisation 2021-07-05 22:04:55 +02:00
Tatsuya79
6f17bbcef5
parameterize ntsc-tate as ntsc-adaptive was 2021-06-10 01:23:03 +02:00
hunterk
7c1a778f4f
changes to ntsc-adaptive, more blurs, NDS color, gamma ramp (#178)
* add updated NDS color, Super Sleuth gamma ramp and more trogglemonkey blurs

* whoops, remove debug workaround

* remove reference to Cg shaders

* make ntsc-adaptive more custom, add RF preset, move some ntsc presets to 'presets'
2021-06-04 17:51:24 -05:00
Tatsuya79
8a59989df4
ntsc-adaptive-tate, smart-morph additions 2021-05-22 15:16:23 +02:00
hunterk
a24fd351db update phase in main function 2020-02-17 11:44:18 -06:00
hunterk
df9b480805 add ntsc-adaptive, move some presets to it and remove redundant presets 2020-02-16 23:11:31 -06:00
hunterk
e6d6393744 add cgwg-famicom-geom and move all raw palette shaders into a new subdir 2019-05-20 14:58:19 -05:00
hizzlekizzle
bfb0e4f967
correct yellow tint in ntsc 320px svideo preset 2018-06-12 08:49:45 -05:00
hunterk
f3a8e541c8 add vhs shader and mimic layout of GLSL repo 2018-04-09 10:55:36 -05:00
hunterk
a9455fec40 add ntsc-xot shader and preset 2017-09-12 15:14:23 -05:00
hunterk
0f247809e2 update mame-ntsc 2017-07-25 15:13:42 -05:00
hunterk
e86c936233 fix texcoord issue, add runtime toggle for split bar 2017-07-07 16:22:47 -05:00
hunterk
c8b177a9da another texCoord fix 2017-06-12 20:58:52 -05:00
hunterk
d59a49abd5 whoops, remove lottes from artifact colors preset 2017-06-05 11:26:21 -05:00
hunterk
c2cf44cea3 tweak some presets 2017-06-01 16:30:29 -05:00
hunterk
05a12bf533 update artifact-colors shaders and preset 2017-05-31 10:49:34 -05:00
hunterk
578ae7faa2 add crt-frutbunn and add shadertoy link to artifact-colors 2017-05-25 08:24:36 -05:00