mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-25 00:40:47 +01:00
Effects, masks and folders: engine evaluation and the remaining tests
This commit is contained in:
1 parent
32654f417e
commit
f49ff387f1
89 files changed
+4928
-785
No files matched your search
@@ -589,16 +589,13 @@ with `material.apply` instead. The fill remembers the material (`Fill.material`,
|
||||
- `effect.blending.modeToEveryChannel`, `opacityToEveryChannel` and `bothToEveryChannel {effect?, channel?}`
|
||||
give every channel of a content effect one channel's blend mode, opacity or both; `effect.blending.copy`
|
||||
and `effect.blending.paste {effect?}` carry every channel's blending between effects (a mask effect takes
|
||||
the shared one). `effect.set {effect, channel, blend?, opacity?}` sets one channel's blending and
|
||||
`effect.set {effect, channels: {roughness: false}}` switches a content effect's channels on or off.
|
||||
the shared one). `effect.set {effect, channel, blend?, opacity?}` sets one channel's blending.
|
||||
- `mask.add.bitmap {layer?, image | alpha, projection?}` adds a mask fill reading an image's gray;
|
||||
`effect.set {effect, idMap: image resource | null}` gives a colour selection its own ID map in place of
|
||||
the baked one; `tool.material {maskImage: image resource | null}` paints an image's gray into masks.
|
||||
- `effect.add.colorSelection {layer?, color?, tolerance?}` and `mask.add.heightCombination {layer?}` add a
|
||||
colour selection or a compare mask (this layer's height against the layers below) to a layer's mask,
|
||||
making the mask first when it has none; both return `{effect}`.
|
||||
- `effect.filter.restoreDefaults {effect?}` puts a filter's parameters back to its defaults (name,
|
||||
channels and blending stay) and returns `{changed}`.
|
||||
- `layer.fill.resetProjection {layer? | effect?}` puts the Fill section back to a new fill's (same
|
||||
projection kind; a placed frame, the symmetry and the sources stay); `layer.fill.resetFrame` puts a
|
||||
warp's frame back around the mesh with its corners unpulled. Each is one undo step, or none when
|
||||
|
||||
Reference in new issue
Block a user