Commit graph

312 commits

Author SHA1 Message Date
metallic77 1b38f425cc
add 'crt-geom-mini' (#483)
* add 'crt-geom-mini'

* add 'crt-geom-mini'
2023-09-16 11:18:12 -05:00
metallic77 0da7abb5da
add crt-Cyclon (#477)
* Add files via upload

* Add files via upload

* Update crt-Cyclon.slang
2023-09-10 09:18:56 -05:00
Jean f74f1d7cd3
Add ghosting parameter newpixie-crt.slang 2023-08-19 02:21:40 -04: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
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
metallic77 75b81b5a6e
Update crt-pocket.slangp (#464)
* Update crt-pocket.slangp

* Update crt-pocket.slang

improvements

* Update crt-pocket.slangp
2023-07-07 10:50:02 -05:00
metallic77 6034d9a906
Update crt-pocket.slang (#463)
Replace with something bigger, and better quality.
2023-07-06 08:33:10 -05:00
metallic77 b6c9f4c22c
Update fake-crt-geom.slang
1:1 with GLSL
2023-07-05 15:48:51 +03:00
metallic77 f1a19d871e
Update zfast_crt_composite.slang
1:1 with glsl
2023-06-19 10:43:11 +03:00
metallic77 4e7d3480f5
small update and a preset (#449)
update crt-simple, add crt-geom-simple preset
2023-06-16 09:27:18 -05:00
metallic77 bc497f3fb4
Update slotmask.slang 2023-06-15 15:38:17 +03:00
metallic77 0e1eefef9f
improvements in pattern 2023-06-15 09:01:58 +03:00
metallic77 fea1cb1265
add ossc-slotmask (#445)
* Add files via upload

* Add files via upload
2023-06-14 14:30:54 -05:00
metallic77 362420d8db
add crt-simple (#444)
* Add files via upload

* Add files via upload

* Update crt-simple.slang

* Add files via upload

* add crt-pocket
2023-06-13 08:25:50 -05:00
metallic77 70167dab20
fix precision error in 4K 2023-06-11 11:50:58 +03:00
Isaac 8b284b5b7b Remove crt-1tap-bloom_fastest 2023-06-08 21:38:54 +02:00
metallic77 327046866c
Update crt-sines.slang
mask wasn't visible
2023-06-05 09:30:11 +03:00
hunterk 54f25d709a update crt-guest 2023-06-04 17:02:27 -05:00
metallic77 5e55a8aadb
Update crt-gdv-mini.slang (#434)
* Update crt-gdv-mini.slang

1:1 (almost) with glsl
2023-05-23 08:19:27 -05:00
metallic77 fe459ce01c
update fake-crt-geom-potato (#429)
fix small mistakes in crt-geom-potato
2023-05-14 20:16:26 -05:00
hizzlekizzle 233cc7dcec
Merge pull request #428 from gizmo98/gizmo-slotmask-crt
Add gizmo-slotmask-crt
2023-05-13 19:16:10 -05:00
metallic77 81bdf62d68
add crt-sines (#427)
* add crt-sines, an improved version of glsl shader
2023-05-13 15:20:08 -05:00
gizmo98 7783ff6ad6 Add gizmo-slotmask-crt
This shader tries to reproduce a CRT-like output without replicating a RGB patterns.

It has the following features:
- allows fractional scaling
- uses texture AA shader and subpixel scaling for evenly placed sharp pixels
- has a horizontal blur function which mimics bad signal quality of some systems (megadrive, psx)
- has a vertical blur function which mimics n64 vertical software blur
- adds some noise to mimic restless CRT colors
- has a curvator function
- looks good with resolutions <= 1080p
- has modest system requirements
- adds a slotmask to the output.

https://forums.libretro.com/t/gizmo-slotmask-crt-shader/41594
2023-05-13 22:13:05 +02: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
Stefan b14a5b6ab1
Add gizmo-crt shader (#413)
* Add gizmo-crt shader

This shader tries to reproduce a CRT-like output without replicating mask or RGB patterns.

It has the following features:
- allows fractional scaling
- uses texture AA shader and subpixel scaling for evenly placed sharp pixels
- has a horizontal blur function which mimics bad signal quality of some systems (megadrive, psx)
- has a vertical blur function which mimics n64 vertical software blur
- adds some noise to mimic restless CRT colors
- has a curvator function
- looks good with resolutions <= 1080p
- has modest system requirements

https://forums.libretro.com/t/gizmo-crt-shader/41409
https://github.com/gizmo98/gizmo-crt-shader
2023-04-30 09:25:44 -05:00
metallic77 2b0ae3e422
updates (#412)
* 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
2023-04-29 12:25:34 -05:00
metallic77 aaf83724d3
add fake-crt-geom-potato (#409)
* add fake-crt-geom-potato

* add fake-crt-geom-potato

* Update fake-crt-geom.slang

Add cheap Color Temperature Control
2023-04-28 22:20:58 -05:00
metallic77 8b299c5a89
fake crt-geom speed-up
Removed unwanted code, simplified, added speed-up option. Gained 10% speed-up on normal operation and 30% on speed-up option enabled.
2023-04-26 22:36:59 +03:00
metallic77 c4a15d2c26
add crt-potato-BVM (#400)
* add crt-potato-BVM
2023-04-22 10:13:11 -05:00
metallic77 277521abcb
improved glow (#398)
* integrate NTSC-colors

* Integrate NTSC-colors

* Integrate NTSC-colors, some fixes too

* additions

Added hue shift from grade, improved glow, added scanlines downscale to interlace mode. Some other touches too

* Update crt-consumer.slang

* fix scanlines misalignment

* add protect white on masks parameter

* improve glow

* add palette fixes

Sega, and PUAE Atari ST dark palettes
2023-04-21 10:28:42 -05:00
metallic77 b28d910c29
add protect white on masks parameter (#397)
* integrate NTSC-colors

* Integrate NTSC-colors

* Integrate NTSC-colors, some fixes too

* additions

Added hue shift from grade, improved glow, added scanlines downscale to interlace mode. Some other touches too

* Update crt-consumer.slang

* fix scanlines misalignment

* add protect white on masks parameter
2023-04-20 09:26:54 -05:00
metallic77 91eb05f136
fix scanlines misalignment/excessive moire (#396)
* integrate NTSC-colors

* Integrate NTSC-colors

* Integrate NTSC-colors, some fixes too

* additions

Added hue shift from grade, improved glow, added scanlines downscale to interlace mode. Some other touches too

* Update crt-consumer.slang

* fix scanlines misalignment
2023-04-19 12:30:14 -05:00
metallic77 396a2ed753
additions-touch ups (#395)
* integrate NTSC-colors

* Integrate NTSC-colors

* Integrate NTSC-colors, some fixes too

* additions

Added hue shift from grade, improved glow, added scanlines downscale to interlace mode. Some other touches too

* Update crt-consumer.slang
2023-04-19 09:25:36 -05:00
hizzlekizzle 0b33b2cf9c
add img-flip param to metaCRT
for use with hardware-rendered cores
2023-04-18 08:27:18 -05:00
metallic77 5cc1d51b8e
Integrate NTSC-Colors plus some fixes (#394)
* integrate NTSC-colors

* Integrate NTSC-colors

* Integrate NTSC-colors, some fixes too
2023-04-18 08:25:46 -05:00
metallic77 06266c3d61
fix darken in interlace, interlace off works again (#391)
* improvements/additions

* improvements/additions

* add prescale sharpening

* add prescale sharpening

* fix darken in interlace, interlace off works again
2023-04-17 15:41:23 -05:00
metallic77 f4d1d7ce55
crt-consumer add prescale sharpening (#389)
* improvements/additions

* improvements/additions

* add prescale sharpening

* add prescale sharpening
2023-04-16 17:39:21 -05:00
metallic77 34852ceca5
improvements/additions (#388)
* improvements/additions

* improvements/additions
2023-04-16 09:36:08 -05:00
metallic77 e0d753c22e
gdv-mini-ultra more additions (#385)
* additions

* more additions
2023-04-13 09:33:09 -05:00
metallic77 7d64554c36
various changes/additions (#384)
* Update crt-consumer.slangp

* change default parameters

* add mono display option & fix interlacing

* fix interlacing
2023-04-11 08:01:12 -05:00
metallic77 3318511ed2
Add sharper hermite filter option 2023-04-09 10:21:36 +03:00
metallic77 5ed39804bc
port fake-crt-geom & hyllian-fast (#380)
* Add files via upload

* Add files via upload

* port fake-crt-geom

* port fake-crt-geom

* port crt-hyllian-fast

* port crt-hyllian-fast
2023-04-07 09:10:33 -05:00
metallic77 4ab9e232f3
Add another more rich version of gdv-mini (#378)
* Add files via upload

* Add files via upload
2023-04-03 10:00:04 -05:00
metallic77 8ff461edee
add post brightness option 2023-03-29 15:17:30 +03:00
hizzlekizzle 1d7629fd67
fix scaling on easymode-halation 2023-03-27 09:04:33 -05:00
metallic77 5d5fd86aff
fix some errors to work as on GLSL 2023-03-21 09:00:58 +02: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
hizzlekizzle 890a1e95b2
remove spurious FragCoord input
fixes https://github.com/libretro/slang-shaders/issues/368
2023-02-20 11:21:13 -06:00
fishcu a6e11453ad
Add bloom based on dual filter blur (#367)
* Update CRT-1tap to v1.2

* update default param

* Update default param

* Add bloom based on dual filter blur

Previously squashed commits:
WIP:Dual filtering bloom effect
Add scale level weighting; Comment out debug code; Simplify tonemap
Debug:Show bloom contrib
Tweak defaults; Small bugfixes
Organize shaders into subfolder
Refactor tonemap into separate file
Tweak parameters
Greatly simplify exposure to intensity mapping; Clean up
Fix faster preset
Change luma pass size to 1 pixel
Lots of polishing
Add combined presets
Add docs; Refactor params a bit; Cleanup
Update combined presets
Rename presets for better ordering
2023-02-11 17:19:43 -06:00