Commit graph

10 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