Commit graph

18 commits

Author SHA1 Message Date
hizzlekizzle 852f729153
fix res-independent-scanlines on non-vulkan drivers
The imageSize parameter was getting mis-detected as a built-in uniform (that is, the dimensions of an image/framebuffer named 'image'), and this was causing d3d drivers to fail to compile altogether and glcore was giving back a 0/undefined value.

Closes #542.
2024-02-09 22:48:00 -06: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 62533d363c
Update ossc_slot.slangp 2023-06-15 10:35:39 +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 d514e014a5
Update ossc.slang
fix mistake on 3x lines
2023-05-11 01:44:48 +03:00
metallic77 4d12bed8bc
add ossc like shader (#421)
* add ossc-like shader
2023-05-10 08:54:16 -05: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
metallic77 bc1ac8ff16
Update scanline.slang
Fix rounding issues
2023-04-27 18:11:20 +03:00
metallic77 bd3cbebeee
Update res-independent-scanlines.slang 2023-04-26 09:18:55 +03: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
MajorPainTheCactus aba9624731 Added black white mask on a 'hidden' value of 3.0 on CRT Type works for 4k/8K and all the TVL's Fixed up the sega virtua fighter some more - still have to cope with wider interference Removed ModInteger function 2022-03-20 21:22:06 +00:00
hunterk be86380ca2 add scanlines-rere and fix typo 2021-11-20 09:18:02 -06:00
hunterk a4344d6e24 move integer-scaling-scanlines to match other directories; create presets for other scanline shaders 2021-09-05 08:21:44 -05:00
Autechre d864d51462
Update integer-scaling-scanlines.slang 2021-09-05 04:03:46 +02:00
MajorPainTheCactus 65cb75e53c Added integer scaling mode pixel perfect scanline shader for use with the new HDR mode in RetroArch 2021-09-04 11:17:02 +01:00
hunterk 5fd80ad7ea make res-independent scanlines better, add built-in res control to geom 2020-04-27 14:45:44 -05:00
hunterk b778a6b7cb make res-independent scanlines a little thinner and adjustable brightness 2019-12-18 16:21:01 -06:00
hunterk ef7bbb1b82 move simple scanline shaders out of misc and fix hlsl function name collision 2019-12-16 11:19:39 -06:00