mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 13:08:59 +00:00
Follows #7338. Under colored lights, and under the classic effects' shading, a gradient with transparent stops is drawn opaque on each face under one opacity mask of its transparency. A gradient without a placement of its own fitted its colors to each face's bounds, while the mask fitted the whole solid, so the color and transparency ramps did not line up and the colors started over on each face. Such a gradient is now placed once on all of the solid's faces, grown by 1 pt, before it is split into colors and mask. Opaque gradients and placed gradients are drawn as before.