Commit graph

38 commits

Author SHA1 Message Date
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
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
fishcu 6f921ee481
Optimize and simplify Pixel AA, Average Fill, and Blur Fill presets (#467)
* Simplify pixel AA; Dependents to be refactored

* Finish refactoring pixel_aa itself; Dependent presets TBD

* Update average and border fill

* Tune default blur strengths in blur fill

* Clean up includes

* Minor corrections
2023-07-29 16:32:34 -05:00
Isaac c7bde72060 Add pixel AA to fill shaders 2023-06-27 21:30:14 +02:00
fishcu 59e6aa174a
Fix some further scaling bugs in border fill shaders (#458)
* Fix more scaling bugs in border fill shaders

* Fix numerical issues; Remove useless mipmap
2023-06-24 22:40:26 -05:00
Isaac 13f4d9184e Reduce blur fill shimmering with lowpass filter 2023-06-23 00:09:43 +02:00
fishcu dd7db517ee
Fix scaling in border fill shaders (#454)
* Debug commit; Seems working, before cleanup

* Clean up

* Bump versions; Add changes to log
2023-06-21 18:08:10 -05:00
Isaac 4e458acaad Fix bug with glcore driver of blur fill shader 2023-06-16 20:05:18 +02:00
Isaac 6e691226b4 Update average fill 2023-06-14 22:32:01 +02:00
fishcu b9d89d63db
Add blur fill (#446)
* Initial commit, WIP

* First working version; stretching the blur will require some refactoring

* Add blur extension to borders

* Implement 'trippy mode' (disable blur, show tiled)

* Implement proper scaling, cropping, and centering independent of viewport res

* Clean up; Fix bug with small blur pass resolutions

* Add blur strength presets; Polish

* Add background gamma adjustment
2023-06-14 14:21:36 -05:00
fishcu 77b6ca6bed
Add average fill (#443)
* Implement average fill

* Implement corner blend modes

* Add copyright; Change defaults; Add some polish

* Add settings delimiter

* Fix settings name
2023-06-11 15:57:38 -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 7f34fc7469
clean up blurs directory (#307)
* clean up blurs

* fix some paths and prune some dead presets

* fix ntsc path
2022-09-26 12:18:44 -05:00
hunterk a5322b1478 correct some broken paths 2022-09-23 23:09:50 -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
mudlord 2322a3fe48 Losslessly compress LUTs 2022-04-16 18:56:18 +10:00
LazyBumHorse 0a2b35ec11 replace invalid scale_type_<number> with scale_type<number> 2019-05-28 22:35:49 +02:00
hunterk 52db21c079 fixes for various compiler nits 2019-01-29 16:32:54 -06:00
hunterk d96eccaf2f add wrap mode to kawase presets to fix dark border from sampling outside of image 2018-08-18 13:52:21 -05:00
hunterk 19b1796bdb add kawase blurs and make bigblur use them, get rid of ugly, broken bigblur-crt 2018-08-15 11:33:39 -05:00
Monroe88 baf586d641 Enable 480i on Game Boy Player tvout shader preset 2018-04-15 16:41:10 -05:00
Monroe88 ed6bcc3242 Convert these README files to markdown 2018-04-15 16:38:30 -05:00
Monroe88 337f7a7b94 Update SGB/SGBA/GBP tvout presets 2018-04-15 16:29:01 -05:00
Monroe88 682cd64071 Update SGB-style border presets 2018-03-19 20:00:57 -05:00
hunterk f89dc71d76 add ambient-glow border and apply dotmask in linear gamma 2017-11-09 12:34:25 -06:00
hunterk de73a1a98e change jpgs to pngs; jpgs don't work, durr 2017-09-12 07:45:15 -05:00
hunterk 6ee273fe9a add border brightness option to bigblur 2017-08-28 11:44:55 -05:00
hunterk 9e23d7c98f add another effect to effect-border-iq 2017-08-18 16:44:40 -05:00
hunterk f0753609c8 add more effects to hexagon border, update with scanlines, AR adjustment 2017-08-17 13:42:55 -05:00
hunterk 7c2c7406ab change some gl_FragCoords to match spec doc 2017-01-06 12:55:04 -06:00
hunterk 90e2f61950 add pvm border to trinitron preset 2016-10-23 20:23:06 -05:00
hunterk 5f6cbcb562 add some imgborder presets and pvm border 2016-10-21 15:47:47 -05:00
hunterk 5f85e7b75a fix license on imgborder 2016-10-21 15:18:07 -05:00
hunterk 26aa41ddd2 tweak bigblur border settings, add OS masking, add lottes preset 2016-10-21 13:19:52 -05:00
hunterk 2f618c239e add bigblur shader and presets 2016-10-20 12:44:47 -05:00
Monroe88 a5236944a1 Change SGBA shader to output 320x240 2016-09-09 20:10:44 -05:00
Monroe88 ea58e06f96 (border) Add SGB, Gameboy-Player, and faux-SGBA border shaders 2016-08-14 13:41:41 -05:00
hunterk d38da74ed2 add hexagon border 2016-08-05 10:15:56 -05:00