3 ms·
Yeah, I just had to open twitter to be able to give him feedback, which is annoying because it's an otherwise dead platform to me. I asked him if anyone sugges
by vanderZwan 2y ago
Yeah, I just had to open twitter to be able to give him feedback, which is annoying because it's an otherwise dead platform to me.
I asked him if anyone suggested experimenting with the Symmetric Nearest Neighbor filter[0], which is similar to Kuwahara but works slightly differently. With a little bit of tweaking it can actually embed an unsharp mask-effect into itself, which may eliminate the need for a separate Sobel pass.
I did some javascript-based experiments with SNN here:
https://observablehq.com/@jobleonard/symmetric-nearest-neighbour-all-the-things https://observablehq.com/@jobleonard/symmetric-nearest-neigh...
... and have no shader experience myself so no idea how it compares to Kuwahara in terms of performance cost (probably worse though).