Commit graph

22 commits

Author SHA1 Message Date
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
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 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 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