🟦Fills, masks and depth sorting
Strokes, fills and masks
You'll notice that some Creator nodes have a Fill state option; you can draw them with a stroke (an outline) or as a mask (covering over stuff underneath) or both.
When you render a shape as a mask, it's as though it's filled in with black and anything underneath it will be covered up.
Drawing a line (or stroke) with a laser is easy enough; you scan the laser from the beginning of the line to the end of the line. There's your line!
Filled shapes are harder though; If you want a shape filled with colour you could manually cross hatch by drawing lines and filling in, but Liberation can't do that automatically (yet). And even if we did do that, you'd still see other lines underneath it showing through.
But what we can do is fill in shapes with black. Under the hood, Liberation is making all the calculations to remove content that are underneath the black-filled shape. And trust me, it's fiddly!
But it works really well and gives the illusion of a black filled shape.
Depth sorting
As some shapes can cover over other shapes, Liberation has to sort them by their depth. And by default, elements are depth sorted by their z position. If they are at the same z position they are sorted by their layer position which can be changed using the MOVE TO FRONT and MOVE TO BACK buttons inside each creator.
Last updated
Was this helpful?