diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-02-08 01:43:36 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-02-08 01:43:42 +0300 |
commit | 10f2e39f4803ca4f1110f3866e7aae1ac29acc95 (patch) | |
tree | cbcabc4255012ea92539c2d4d5c05fcc56c3933d /release | |
parent | 4e2cb23bbd1081a025d4325852b4d5aac6fe930a (diff) |
GPencil: Refactor: New linked mask system
The new system is more flexible and a bit simpler from the code side.
Each layer has a mask layer slot. If filled with a correct layer name,
the mask layer will be rendered again in a separate buffer. This buffer
will then be used in the blend pass to modulate the opacity of the layer.
This approach is not 100% equivalent to the standard layering in most 2D
applications if using varying alpha on a mask applied to multiple layers.
However this technique does support any ordering arrangement of the masks.
The layers used as mask can now still render normaly.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions