LookCharacterSilhouette
How a hidden character’s silhouette draws: a fill and an outline where a wall, a roof or any opaque object hides the character, while the occluder draws as it is. The depth of field leaves it sharp.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
characters |
SilhouetteCharacters |
Which characters show one; setCharacterSilhouette overrides it for one character. |
fillColor |
ColorRepresentation |
The fill’s colour, unlit and unfogged, in the scene before the tone mapping and the grade, so the grade shifts it as it does the wall. |
fillDetail |
number |
How much of the hidden texel’s own light and dark the fill keeps, 0 to 1, so hair, a face and clothes read through the wall: 0 is one flat colour, 1 scales the fill by 0.42 + 0.8 * sqrt(luma). No light reaches it. |
fillOpacity |
number |
How much the fill covers what it shows through, 0 to 1, blended: 1 is solid. |
minHiddenShare |
number |
The share of the character’s drawn pixels that must be hidden before its silhouette shows, 0 to 1, so a rail across the feet shows none. 0 shows it for any hidden pixel. |
outlineColor |
ColorRepresentation |
The outline’s colour, round the hidden part of the character. |
outlineOpacity |
number |
How much the outline covers what it shows through, 0 to 1. |
outlineWidth |
number |
The outline’s width in the frame’s own pixels, a whole number: in a pixel-perfect frame, the art’s pixels. 0 draws none. |