Commit graph

6 commits

Author SHA1 Message Date
Jonatas Esteves dd9994482c SMAA: Expose more quality settings
- Expose all the configuration settings used by the quality presets to allow fine-tuning of edge detection.
- Changed default edge detection technique from luma to color since in my tests that always yields better results.
- Increased quality to ultra in default preset.
- Deleted the duplication of the fragment shader part of the lib, as I figured out how to include the lib twice with different defines for the vertex and fragment passes. That is necessary probably because discard cannot be used in vertex shaders in RetroArch, indicated in a comment in the lib as a possible restriction in some compilers.
- Include license headers to make clear that all my contributions are released on the public domain under the terms of the Unlicense. Anyone can do whatever they want with this.
2021-09-08 18:17:29 -03:00
Jonatas Esteves a4da0992bb New port of SMAA
Adds a new port of SMAA. This includes the original sources unmodified. The original does a great job of ensuring compatibility with any shader compiler, so no need to modify it.

- Add a runtime toggle to choose edge detection technique;
- Position independent, doesn't need to be the first shader in a chain anymore.
2021-09-02 02:40:09 -03:00
hizzlekizzle 04081a285b
delete trash file
unused, misnamed
2019-04-05 10:19:54 -05:00
hunterk d30218fd22 dunno when this broke, but... fix smaa 2017-06-21 11:59:01 -05:00
hunterk 6ec3d2aba4 use mudlord's LUTs 2016-11-01 16:25:58 -05:00
hunterk b8ce1d7a9d add SMAA shader 2016-10-31 11:01:11 -05:00