sunfall.package
This package holds more than this page lists. See all of its files in its world.
README.md
rocks (module)
Boulder meshes for Sunfall Ridge, grown from a seed at three levels of detail (about 1280, 320 and 80 triangles) with the same shape at each: an icosphere squashed to the kind's proportions, roughened with layered noise, then cut by a handful of random planes so its faces break flat and angular the way split granite does, its foot flattened to sit into the ground. Each vertex's colour carries its cavity shading. Kinds: boulder, slab (flat: ledges, the meadow's flat stones), outcrop (tall, blocky, many cuts), stone (small: scree and the landing target). Four variants each.
mesh(kind, variant, lod) answers a held runtime mesh; material("granite") the rock shader on alpineMaterials' lichen granite, material("limed") the same whitewashed for the landing target. Called by sunfall.dressing.Rocks.