voxolith
API reference@voxolith/gen-treeInterfaces

LookParams

Which role each voxel gets: season, age and health, bark pattern, moss, snow and blossom.

Defined in: tree/src/params.ts:109

Properties

PropertyTypeDescriptionDefined in
accentFractionnumberFraction of clusters that take the accent colour.tree/src/params.ts:130
agenumber0 young and slender, 1 old, fat and gnarled.tree/src/params.ts:112
blossomnumberSpring only: fraction of leaf clusters that flower.tree/src/params.ts:134
creviceAobooleanDarken crotches and the undersides of limbs with a baked occlusion role.tree/src/params.ts:128
furrowContrastnumberSpread between the dark and light bark thresholds.tree/src/params.ts:118
furrowWavelengthnumberBark furrow spacing measured around the trunk, in voxels.tree/src/params.ts:116
healthnumber1 healthy, 0 sparse and dying.tree/src/params.ts:114
minRadiusForPatternnumberBranches thinner than this get flat twig colours instead of bark.tree/src/params.ts:122
mossnumberMoss cover on the lower trunk, 0..1.tree/src/params.ts:124
mossAzimuthDegnumberCompass direction the mossy side faces, in degrees.tree/src/params.ts:126
plateWarpnumberWarps furrows into plates; 0 is a smooth-barked species.tree/src/params.ts:120
seasonSeason-tree/src/params.ts:110
snownumberWinter only: share of sky-facing tops that carry snow, 0..1.tree/src/params.ts:132

On this page