diff --git a/reference_manual/layers_and_masks/split_alpha.rst b/reference_manual/layers_and_masks/split_alpha.rst new file mode 100644 --- /dev/null +++ b/reference_manual/layers_and_masks/split_alpha.rst @@ -0,0 +1,33 @@ +.. meta:: + :description: + Split Alpha: how to work with color and alpha channels of the layer seperately + +.. metadata-placeholder + + :authors: - Dmitry Kazakov + :license: GNU free documentation license 1.3 or later. + +.. index:: Layers, Transparency, Alpha channel, Game +.. _split_alpha: + +=========== +Split Alpha +=========== + +Sometimes (especially in game development) artists need to work with alpha channel of the texture separately. To assist such workflow Krita has a special :menuselection:`Split Alpha` functionality. It allows splitting alpha channel of a paint layer into a separate Transparency Mask, work with it in an isolated environment and merge back when finished. + +How to work with alpha channel of the layer +------------------------------------------- + +#. |mouseright| the paint layer in the layers docker. +#. Choose :menuselection:`Split Alpha->Alpha into Mask` +#. Use your preferred paint tool to paint on the Transparency Mask. Black paints transparency (see-through), white paints opacity (visible). Gray values paint semi-transparency. +#. If you would like to isolate alpha channel, enter Isolated Mode by |mouseright| + :menuselection:`Isolated Mode` (or :kbd:`Alt` + |mouseleft|) +#. When finished editing the Transparency Mask, |mouseright| on it and select :menuselection:`Split Alpha->Write as Alpha` + +How to save a PNG texture and keep color values in fully transparent areas +-------------------------------------------------------------------------- + +#. |mouseright| the layer in the layers docker. +#. Choose :menuselection:`Split Alpha->Alpha into Mask` +#. |mouseright| on the created mask and select :menuselection:`Split Alpha->Save Merged...`