Log inGet started
Package

styleRoles.package

This package holds more than this page lists. See all of its files in its world.

README.md

Line and wash (role set)

For ink line over watercolor wash: the hero in a firm pen line with a light, crisp wash, enemies in a heavier line and full wash, pickups in a light line with clean bright colour and no paper, props in a thin line washed into the page.

Pick it with StyleKit.setRoles("lineAndWash") (or StyleRoles.use("lineAndWash"), which also adds its variant lines), and give an object a role with StyleKit.give(entity, "enemy"). With no set picked, the stack takes this one by itself under urbanSketch, brushAndWash.

Line is the weight of lines and strokes (1 as the look draws them). Marks are how much of the look's line, tone (shading marks and light bands), fill (washes, cel fills, colour) and paper reach the object. Value here means how much of its own colour the object keeps, brighter and purer, through the wash.

RoleVariantLineMarks: line / tone / fill / paperValue
heroplayer1.51 / 1 / 0.67 / 0.330.3
partnerplayer1.351 / 1 / 0.67 / 0.670.2
enemyenemy1.451 / 1 / 1 / 10
eliteenemy1.851 / 1 / 1 / 10
bossenemy2.41 / 1 / 1 / 10
pickuppickup1.051 / 0.33 / 0.33 / 00.8
rarePickuppickup1.251 / 0 / 0 / 01
usableinteractive1.21 / 0.67 / 0.67 / 0.330.5
objectiveinteractive1.451 / 0.67 / 0.33 / 0.330.6
hazardhazard1.51 / 1 / 1 / 0.670.3
projectilehazard0.71 / 0 / 0.33 / 01
friendlyfriendly1.151 / 1 / 0.67 / 0.670.3
propbackground0.751 / 1 / 1 / 10
ghostbackground0.40.67 / 0.33 / 1 / 10
distantbackground0.30.33 / 0.67 / 1 / 10
asRenderedleft exactly as rendered

Known limits

  • At most eight distinct settings are drawn per scene; roles that resolve to the same setting share one (#24549, #22178).
  • A per-object value cannot reach a geometry pass, so some per-object looks need passes of their own (#24549).
  • Two engines on one account join as one player, so a two-player check needs two accounts or two machines (#14448).

The package README's Known limits lists the rest.