shrineGround
The ground shader of the lanternStair kit: world-space moss and cedar-needle litter on gentle ground, triplanar cliff rock on steep ground, wet darkening by the water and baked occlusion, for a runtime terrain mesh that has no texture layout. The `LanternStair` component builds i…
shrineGround
The ground shader of the lanternStair kit: world-space moss and cedar-needle litter on gentle ground,
triplanar cliff rock on steep ground, wet darkening by the water and baked occlusion, for a runtime
terrain mesh that has no texture layout. The LanternStair component builds its ground with it.
Vertex colour carries what the builder knows about each spot: red = mossiness (1 moss, 0 litter), green = wetness (stream banks, plunge pool), blue = ambient occlusion.
| Property | Meaning |
|---|---|
moss_tint, litter_tint, rock_tint | Colour multipliers for the three surfaces |
moss_tile, litter_tile, rock_tile | Metres one texture repeat covers |
rock_from, rock_to | Up-component of the surface normal where rock starts and where it is all rock |
macro_scale | Frequency of the slow colour variation across the mountain |
wet_darken | How much the wet channel darkens the ground |
moss_texture, moss_normal, litter_texture, rock_texture, rock_normal | The textures (groundMaterials moss, alpineMaterials needle litter, stoneMaterials cliff rock by default) |
Scoped to this part · feeds back into the world's score.