threejs-worldgen
Website
Demos
GitHub
Preparing search index...
threejs-weathering
StateChannel
Type Alias StateChannel
StateChannel
:
"wetness"
|
"snow"
|
"burn"
|
"damage"
The four material states every weathered asset understands, each 0…1:
wetness
: darker, more saturated albedo, glossy surface, drip streaks on walls, puddles on flat ground
snow
: snow settling on upward-facing surfaces, with noise-broken edges and sparkle
burn
: scorch → char → ash; foliage loses leaves (with
heat
, glowing ember cracks)
damage
: cracks, dents, darkening; missing pieces where cut-outs are allowed
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Website
Demos
GitHub
threejs-worldgen
Loading...
The four material states every weathered asset understands, each 0…1:
wetness: darker, more saturated albedo, glossy surface, drip streaks on walls, puddles on flat groundsnow: snow settling on upward-facing surfaces, with noise-broken edges and sparkleburn: scorch → char → ash; foliage loses leaves (withheat, glowing ember cracks)damage: cracks, dents, darkening; missing pieces where cut-outs are allowed