Commit Graph

109 Commits

Author SHA1 Message Date
Matt Akins
9461889a04 Added 'Invert Colors' parameter to 'image-adjustment' 2024-02-06 23:14:20 -08:00
metallic77
099215af54
update simple_color_controls (#522)
fix conflicting parameter names
2023-12-15 18:29:21 -06:00
metallic77
61b00e773a
glsl to slang update (#517)
* glsl to slang update

* Update crt-gdv-mini.slang

* Update fake-crt-geom-potato.slang

* Update fakelottes.slang

* Update fakelottes.slang

* Update zfast_crt_impl.inc

finemask wasn't working properly

* Delete crt/shaders/crt-consumer/bezel2.png

* Update crt-Cyclon.slang

* Update crt-Cyclon.slangp

* Delete crt/shaders/crt-consumer/bezel.png

* Add files via upload

* Delete crt/shaders/crt-consumer/bezel3.png

* Update crt-consumer.slang
2023-12-03 09:13:27 -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
metallic77
2a4f904bfd
Update simple_color_controls.slang (#512) 2023-11-17 07:58:23 -06:00
metallic77
b722025b69
Update simple_color_controls.slang (#509)
* Update simple_color_controls.slang

* Update crt-Cyclon.slang

* Update crt-Cyclon.slangp

* Add files via upload

* Add files via upload

* Rename crt/shaders/bogus.slang to crt/shaders/crt-consumer/bogus.slang

* Add files via upload

* Delete crt/shaders/crt-consumer/bogus.slang

* Update crt-Cyclon.slang

* Update crt-Cyclon.slang

* Update crt-Cyclon.slangp

* Add files via upload

* Update crt-Cyclon.slang

* Update simple_color_controls.slang

* Update crt-Cyclon.slang

* Update crt-Cyclon.slangp

* Delete crt/shaders/bezel.png
2023-11-15 15:20:22 -06:00
Isaac
8173887709 Make parameter order consistent 2023-10-14 16:59:50 +02:00
Isaac
fd0539a477 Add input translation option to blur fill and average fill 2023-10-14 16:56:12 +02:00
fishcu
c1488579ee
Scaling: Add overscale option (#482)
* Scaling: Add overscale option

* Bump versions
2023-09-14 19:55:13 -05:00
Dogway
5620bb1dc6
Grade - Update + Features + Fixes. Click for log
- Automatic compensation for black lift in 1886a gamma function, use instead "Black Level" to raise or lower blacks as usual
- Automatic gamma compensation given the new normalized black
- "Black Level" now is deterministic and given in 8-bit values. +10 means blacks will be lifted 10 point values for any gamma output
- Optimization. Now if signal type is RGB, phosphors + color space are sRGB and temperature ~6500K then the wp_adjust() function will be bypassed
2023-09-11 19:46:48 +01:00
fishcu
e366c7524c
Correctly account for screen rotation in several shaders (#478)
* Refactor scaling into include library

Add separate H and V integer scale forcing

Fix blur_fill; average fill still TODO

Clean up and fix blur_fill; Initial docs; Avg fill TODO

Mostly fix avg. fill; sampling TODO; Bump versions, add docs

Fix H/V extension; Tweak default params

Fix avg. fill

Remove defines, create functions

Reorder params

Clean up

Fix pixel_aa subpx sampling with rotation

* Minor docs fix
2023-09-10 09:15:41 -05:00
metallic77
69417bb472
Update chromaticity.slang 2023-08-25 21:56:35 +03:00
Dogway
d53796bc26
Add files via upload 2023-08-13 03:25:48 +01:00
fishcu
259ff81f4b
Repo reorg: edge smoothing, interpolation, and pixel art scaling (#469)
* Move initial batch of shaders and presets to smoothing subdirectory

* Rename smoothing to edge enhancement

* Move cubic and windowed into interpolation

* Fix some presets

* Fix rest of presets

* Rename edge-enhancement to edge-smoothing

* Move pixel art scalers into separate directory separate from 'interpolation'

* Flatten interpolation/cubic into interpolation/
2023-08-12 18:09:28 -05:00
Dogway
6485e4c610
Grade - Formatting + Notes + Cosmetics (#465)
* Grade - Formatting + Notes + Cosmetics

- Adopted some GLES related type consistency and formatting (still not compatible with GLES and not planned)
- Some notes on Phosphors
- Cosmetics

* Grade - Formatting + Notes + Cosmetics

- Adopted some GLES related type consistency and formatting (still not compatible with GLES and not planned)
- Some notes on Phosphors
- Cosmetics
2023-07-19 21:08:28 -05:00
HyperspaceMadness
401c12d6a4 Print Resolution Text preset and shaders
Fixes
2023-06-22 13:22:05 -04:00
metallic77
a638508dbe
improve mono mode 2023-06-18 11:44:27 +03:00
Dogway
5f64d80b7f
Grade - Update + Cosmetics (#451)
* Grade - Update + Cosmetics

- P3-D65 now uses 1886 EOTF
- Mask for GamutCompression is now CRT Gamma adjusted instead of 2.4 constant
- Fix uninitialized 'm_in' variable
- Cosmetics

* Update grade-no-LUT.slang

* Update grade.slang
2023-06-17 16:28:47 -05:00
metallic77
2e55f27f30
Add files via upload 2023-06-15 10:32:02 +03:00
metallic77
5d66f73041
Add files via upload 2023-06-15 10:31:40 +03:00
metallic77
4a2ab835fe
Update chromaticity.slang
improve accuracy
2023-06-11 18:03:04 +03:00
metallic77
9baa8162a5
Update chromaticity.slang
automate color modes
2023-06-11 12:03:00 +03:00
Dogway
6f97a8e547
Grade 2023 - Update
- Bugfixes and code optimizations
2023-06-03 22:07:43 +01:00
metallic77
584f18b1c6
add chromaticity (#435)
* Add files via upload

* add chromaticity
2023-05-28 12:45:59 -05:00
metallic77
a6305a1789
Update ega.slang (#426)
add CGA mode
2023-05-13 07:21:57 -05:00
metallic77
954467430c
Update fake-crt-geom-potato.slang (#425)
* Update fake-crt-geom-potato.slang

* add retro-palettes

* Add EGA filter with dithering
2023-05-12 21:42:31 -05:00
Dogway
7ee946ee62
glass - update 2023-05-11 14:52:31 +01:00
Dogway
d425ae89f2
grade - refactor 2023-05-11 14:52:24 +01:00
metallic77
d114c41686
add night-mode (#414)
* Update crt-consumer.slang

Removed NTSC as it conflicts with saturation/hue, and can be used as a separate pass anyway. Fixed some mistakes. Massive speed-up from 120 fps to 450 fps on Intel HD630.

* Update crt-gdv-mini-ultra.slang

Removed NTSC,  some corrections too.

* Update zfast_crt_composite.slang

* Update fake-crt-geom.slang

* Add files via upload

* add night_mode

* Update lanczos16.slang

fix minor artifacts

* Brightness fix scanline.slang

Permanent Brightness fix. No need to adjust "SCANLINE_BASE_BRIGHTNESS.

* fix scanlines misalignment
2023-05-01 08:27:13 -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
37a46fd102
fix malformed presets (#370)
* fix preset parsing issues from https://github.com/libretro/slang-shaders/issues/369

* one more preset fixed

* fix some malformed preset directives

* fix preset lines erroneously ending in semicolons

* fix another malformed preset directive

* make sure grade and glass at least load properly

* comment one more bad path
2023-02-24 07:35:58 -06:00
hunterk
b814c58f44 fix path in comment 2022-09-23 23:12:04 -05:00
hunterk
bc55ed1f7b move all of the misc shaders into a subdir and give them presets to be in-line with the rest of the repo 2022-09-23 23:04:05 -05:00
hizzlekizzle
3f67e1870d
fix #255
works around rounding differences on different GPUs/drivers
2022-07-23 07:45:56 -05:00
hunterk
582b9fe1ec move the HDR shaders to their own directory, since they have specific requirements 2021-12-30 17:41:07 -06:00
Autechre
f8651de0f5
Merge pull request #209 from MajorPainTheCactus/master
Added HDR shader chain to be used with associated pull request 'Added…
2021-12-22 02:17:33 +01:00
majorpainthecactus
46cbd81131 Added HDR shader chain to be used with associated pull request 'Added support for HDR shaders #13390' in the RetroArch repository 2021-12-22 00:25:08 +00:00
hunterk
d052454535 update bob-deinterlacing and remove now-redundant bob-and-ghost 2021-10-13 19:20:23 -05:00
hunterk
70256e15f6
add more blurs, ss-gamma-ramp, updated nds color (#176)
* add updated NDS color, Super Sleuth gamma ramp and more trogglemonkey blurs
2021-05-27 21:41:42 -05:00
Dogway
ba36486cb2
Add glass.slang (#169)
Glass shader for CRT related artifacts
2021-02-17 12:20:18 -06:00
Dogway
eb1a213dee grade.slang - gamma and temperature rework 2020-12-17 22:54:07 +00:00
hunterk
9e9804c428 switch interlacing's detection to use OriginalSize to improve compatibility with prescaling passes 2020-12-08 14:10:07 -06:00
hunterk
547e9671bd move/add stereoscopic-3D shaders to match glsl repo 2020-09-08 15:35:43 -05:00
Dogway
e7c699f7fe Update grade.slang 2020-07-27 20:34:45 +01:00
Dogway
1d654b5049 grade - compute white point in CIExy 2020-07-27 17:42:36 +01:00
Dogway
8ee69f0a78
update grade.slang (#145)
* update grade.slang

Gamma pipeline relogic
Fix LUT implementation
Fix rolled_gain function
New otuput space: Rec.709
Fixed some defaults (output space to 4.0, and temperature to D55)

* update.slang

fix back output space default
2020-07-10 11:47:44 -05:00
Dogway
4260ef8f8b Create grade.slang 2020-06-22 14:40:53 +01:00
Syhles
4754896dc6
Missing rgb_grain selection? 2020-04-29 01:22:38 -04:00
hunterk
239b6f01be add modular image adjustment shader 2020-04-28 22:37:24 -05:00
Dogway
49c860f6ac
Update white_point.slang 2020-03-31 18:55:49 +01:00