Style Cookbook: Mix Your Own Art Style from Stackable Look Blocks
- ..
- README.md1.6 KB
- about.yaml643 B
- behavior.luau789 B
- type.yaml911 B
README.md
styleLook (asset type)
A whole look in one change: the blocks of a styleKit stack with their strengths, masks and settings, and the stack options that go with them (pigment set, hold rate, mark scale, soft radius). StyleKit.applyLook(id) replaces the scene's stack with it for every player; StyleKit.applyLook(id, { keep = { "line" } }) keeps the slots you name from the current stack, so a look can change the washes and leave your line alone.
Folder shape
looseAndWet.styleLook/
look.yaml the look (required)
README.md what it is, what it suits, which blocks it uses (required)
.metadata { "tags": ["look", "watercolor"] } (required)
look.yaml
name: "Loose and wet"
summary: "Big soft washes that bleed into each other, blooms and pooled shadows; little detail."
tags: [watercolor, loose, wet]
pigments: earthy # a pigmentSet id, or leave it out for the scene's own colours
holdRate: 8
markScale: 1
softRadius: 14
entries: # the same shape StyleKit.load takes
- { id: wash, block: wcWash, settings: { flatten: 0.85 } }
- { id: bleed, block: wcBleed, strength: 0.9 }
- { id: paper, block: wcColdPress }
Every block a look names must be installed; applyLook refuses a look with a missing block and changes nothing. List looks with StyleKit.looks().
Known limits
- An asset of this type registers when the engine indexes its files, a moment after they are written.
- ZeroMind's description of this can lag one release behind what is installed (#19258).
The package README's Known limits lists the rest.