Commit graph

2 commits

Author SHA1 Message Date
Jonatas Esteves 629f08f7b1 SMAA: Fix color edge detection
Fix incorrect calculation of local contrast adaption in color edge detection

This is the fix from PR iryoku/smaa#11
2021-09-13 22:15:35 -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