OptionalcastOverrides the layer's castShadow for this level (e.g. false for far levels).
Instances closer to the camera than this (metres) and beyond the previous level's distance use this level.
Geometry of one instance, in its local space with the ground at y = 0.
Its material, or one per geometry group (e.g. bark + leaves).
One level of detail of a ScatterLayer: what to draw up to a distance.
Mesh levels are drawn as
InstancedMeshes whose geometry also carries a per-instancescatterParamsattribute (x = yaw, y = brightness tint, z = random 0..1, w = 0); read it in your material withscatterParamsNode()for per-instance variation.