Add mathematically robust normal map combination blending mode.
This approach uses quaternions to rotate the normal vector of the destination layer so that it deforms correctly from the base layer. The algorithm is called reoriented normal mapping and is detailed at http://blog.selfshadow.com/publications/blending-in-detail/. Differential: https://phabricator.kde.org/D210
Showing with 26 additions and 0 deletions