-
Dmitry Kazakov authored
Overlay-like layer styles (overlay, inner shadow, inner glow and satin) seem to be applied in a complicated way: 1) Firstly the copy of the layer-stack projection is created 2) Then a copy of original layer alpha channel is extracted into a selection 3) Alpha channel of the layer itself is maxed-out to 1.0 4) The layer and all the layer overlay-like styles are merged into the projection 5) The the copy of the original projection from step 1) is copied onto the projection again using selection from step 2). This weird technique is used to ensure that color mixing happens exactly in full opacity, as if the colors would have no alpha-channel. BUG:412283
227bd473