Commit graph

148 commits

Author SHA1 Message Date
hizzlekizzle 4968a52943
fix NSO-gbc-color.slang 2024-05-09 09:49:36 -05:00
fishcu 0eb12c628d
Fishcu/authentic gbc (#582)
* First working version

* Add overbright feature; Clean up code

* Consistent precision

* Rename included files; Separate out vert shader as utility function
2024-04-29 13:48:41 -05:00
Matt Akins 155e471cae Updated gameboy preset names based on feedback 2024-04-07 23:12:28 -07:00
Matt Akins 6bfb9df4df Added gameboy-advance preset
Created a preset for the gameboy shader optimized for Game Boy Advance games. This preset creates a cool LCD effect where pixels really pop.
2024-04-04 16:46:17 -07:00
Matt Akins eab71b6be9 Added gameboy-pocket-high-contrast
Color palette taken from Tatsuya79's Handheld Border Shader project. A great color scheme for Game Boy games that falls in-between gameboy-pocket and gameboy-light-mode.
2024-04-04 16:43:54 -07:00
Matt Akins 69c2821239 Added gameboy-color-white-bg preset for gameboy shader
This is an alternative to my previous gameboy-color preset. It features a white background as opposed to the traditional sepia tone used to mimic the original Game Boy panels. This results in truer, brighter colors but a bit harder on the eyes and less nostalgic.
2024-04-04 16:36:07 -07:00
Matt Akins f7cf08900e Restored gameboy shader Blending Mode default to 0
This variable determines how pixels are blended and affects the appearance of the pixel grid. The original Cg gameboy shader defaulted to Blending Mode 0. While a matter of preference, I find Blending Mode 0 looks better across a wider range of resolutions (especially handheld, lower resolution devices) and doesn't wash out the image like Blending Mode 1.
2024-04-04 16:30:35 -07:00
hunterk 71c8853494 optimize console borders 2024-03-02 19:45:21 -06:00
Matt Akins a5e2b80462 Game Boy Color preset
Updated handheld/gameboy shader to support color based on a toggle. Added gameboy-color preset. This effect looks great on handheld devices with Game Boy Color games.
2024-02-06 23:25:03 -08:00
Matt Akins 775819343f Light and dark mode versions of handheld/gameboy
Light version features black pixels on a white background.
Dark version features white pixels on a black background.
2024-02-06 23:20:30 -08:00
nfp0 911d4d696b
Adjust lcd-grid-v2 GBC and GBA gamma as per Pokefan recommendation (#536)
* Adjust GBC default gamma to be more accurate

* Adjust lcd-grid-v2 gamma for GBC and GBA
2024-01-26 11:47:25 -06:00
Nuno Pereira 6abf3b201e Add handheld border brightness parameter 2024-01-17 22:32:52 +00:00
Nuno Pereira c07a6eb0d0 Make lcd-grid-v2 handheld-border presets consistent with Pokefan531 (fix GBC bright screen) 2023-10-22 18:28:53 +01:00
Nuno Pereira 1ec4e90641 Bring handheld border GBC to parity with GBA 2023-10-16 16:15:18 +01:00
Alex Janka 9877277344 Add video_scale parameter directive in gb-pass1 2023-10-14 18:35:23 +11:00
Alex Janka 408bcd8ea8 Hide garbage in Game Boy borders 2023-10-12 13:00:35 +11:00
Tim McCabe 129604300d Add BACKGROUND_INTENSITY to other simpletex shaders 2023-09-22 10:49:22 -04:00
Tim McCabe 607c0979bb Add BACKGROUND_INTENSITY to gbc-color 2023-09-22 10:38:37 -04:00
hunterk 93baa7ffac update pokefan's handheld color shaders 2023-08-22 17:34:32 -05: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
hizzlekizzle abeaabfb6d
Merge branch 'Themaister:master' into master 2023-06-28 07:10:07 -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
Nuno Pereira 362e35919a Restricted shader processing to the game screen area, fixing blurry cutoff point 2022-12-19 22:15:13 +00:00
Nuno Pereira 210034a507 Allow LCD-grid handheld-border shaders to scale by parameter 2022-12-15 22:58:21 +00:00
hizzlekizzle 9e89aafe0f
Merge pull request #317 from nfp0/handheld-border-single-scaling-parameter
Instructions on how to change scale for border-auto-scale presets
2022-10-17 16:10:58 -05:00
Nuno Pereira 9725f05032 change order for instructions parameter 2022-10-17 21:31:37 +01:00
Nuno Pereira e9db5851be Instructions on how to change scale for border-auto-scale presets 2022-10-04 11:37:35 +01:00
Nuno Pereira 8afdd53387 Cleanup scale settings on some handheld-border presets to avoid user confusion when scaling 2022-10-03 23:55:30 +01:00
hizzlekizzle f8f99ee220
Merge pull request #249 from nfp0/handheld-border-single-scaling-parameter
Handheld border single scaling parameter, allowing for arbitrary scaling levels (4K compatibility)
2022-09-30 18:45:37 -05:00
Hyllian 4a02c8a42f Update retro-tiles.slang
- Added params to control format and depth of tiles;

PS: Got rid of old fork and made new one. No bugs now! :P
2022-09-18 13:21:40 -03:00
hizzlekizzle 0c35d67d09
fix gamma in retro-tiles 2022-09-11 18:34:06 -05:00
Hyllian 39b0948d0e
Add Retro-Tiles shaders (#291)
* Add Retro-Tiles shaders

A shader designed for handheld and low res systems. It turns pixels into crisp tiles.

* Add box scaling

- Turn mandatory integer scaling;
- Add Overscan option.
2022-09-11 12:45:51 -05:00
Hyllian 7cccd21a2b Add Retro-V3 shaders
- Add Retro-V3 shader
- Add Retro-V3-nds-colors and Retro-V2-nds-colors
2022-08-15 18:50:07 -03:00
nfp0 2245052015 handheld borders - removed unnecessary calculation 2022-05-19 20:59:11 +01:00
nfp0 cb29629a2a Adjusted PSP border scale 2022-05-08 17:07:36 +01:00
nfp0 521d531908 NeoGeo Pocket Color cleanup 2022-05-08 14:18:52 +01:00
nfp0 a289e43c06 remove handheld border retro presets 2022-05-08 13:56:53 +01:00
nfp0 1460ef4f01 Add border_texture_scale for border shaders 2022-05-08 02:31:31 +01:00
nfp0 013ff5aace handheld border major cleanup 2022-05-08 02:31:23 +01:00
nfp0 e53d1be562 Separate gb-pass border shader from auto scaled border shader 2022-05-08 02:20:11 +01:00
nfp0 9fcf6bf196 gb-pass5 - determine border size from SourceSize and OriginalSize.
Use only Y for compatibility with non-square pixel consoles.
2022-05-08 02:18:21 +01:00
nfp0 f9d9c9724c Fix gbpass scaling misalignment 2022-05-04 01:16:25 +01:00
nfp0 2a80829d45 Modified presets for single video_scale parameter 2022-05-03 23:29:19 +01:00
nfp0 b8f57be9c9 Make scaling a single parameter affair on handheld border shaders 2022-05-03 19:33:53 +01:00
mudlord 2322a3fe48 Losslessly compress LUTs 2022-04-16 18:56:18 +10:00
Stuart Kenny 947b05aabe Correct shader preset filename for zfast lcd. 2022-02-09 19:41:37 +00:00
hizzlekizzle 831adec8cf
Merge pull request #210 from hunterk/master
add zfast_lcd shader by popular demand
2021-12-26 14:30:20 -06:00
hunterk d0f8703db9 add zfast_lcd shader by popular demand 2021-12-25 17:31:10 -06:00
Nikos Chantziaras 4b9959f991
Add border presets for GBA with AGB-001 and AGS-001 screen shaders
The AGB and AGS screen shaders always output 4x the base res (160p), so
1x is 640p, 2x is 1280p and 3x is 1920p.
2021-11-27 07:54:37 +02:00