https://bugs.kde.org/show_bug.cgi?id=373337

            Bug ID: 373337
           Summary: Add blending mode to copy red channel to transparency
           Product: krita
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: sbrown...@gmail.com
  Target Milestone: ---

I've been meaning to add this feature for a while and just haven't gotten
around to it yet.

A lot of game engines expect greyscale textures to be packed into multiple
channels to save texture memory. Copy red, copy green, and copy blue are very
convenient ways to do this for the color channels, but they don't help pack a
greyscale mask into the alpha channel. With DXT5 compression the alpha channel
is compressed separately so it's a good choice for masks that have
high-frequency data or data that doesn't change along with the other masks.

This blending mode would copy the contents of the red channel to the alpha
channel, eliminating the need to copy your alpha channel mask merged and
convert it to a transparency mask every time you change the alpha mask. Putting
the red channel into the alpha channel is also useful for DXT5 normal map
compression which is still used sometimes for compatibility reasons.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to