9ef2310e5f
This patch implements the Anisotropic Kuwahara filter for the Realtime compositor and replaces the existing CPU implementation with a new one to be compatible with the GPU implementation. The implementation is based on three papers on Anisotropic Kuwahara filtering, presented and detailed in the code. The new implementation exposes two extra parameters that control the sharpness and directionality of the output, giving more artistic freedom. While the implementation is different from the existing CPU implementation, it is a higher quality one that is also faster and conforms better to the methods described in the papers. Examples can be seen in the pull request description. Pull Request: https://projects.blender.org/blender/blender/pulls/110786