defineTopLayer
defineTopLayer(
options):ModelMaterial
A model material that lays a layer over each face turned toward the
world’s up, such as moss on a rock’s top: pass it as registerModel’s
material, an <Entity>’s or a detail level’s. Define it once, at
module scope. It dresses three’s standard and physical materials; a
plant’s leaves wear foliage(topLayer(original)), the layer first. The
layer is fixed to the world, so a model that moves carries none of it
with it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
TopLayerOptions |