Log inGet started
Package

RockGen.module

This package holds more than this page lists. See all of its files in its world.

README.md

RockGen

Procedural generators for alpineProps' stone: graniteBoulder (1.3-3.8 m, 4 variants), rockOutcrop (4-8 m bedrock knob), screeStone, screePatch (4-6 m of loose angular stones), flatSlab, cairn (~1.2 m stacked stones), cliffFace (modular 10-20 m face facing +Z, 6 m below ground) and cliffSpire (8-15 m tower). Every stone is an exact faceted granite polytope (joint planes plus chamfers, then noise and joint cracks); big shapes are assemblies of blocks whose gaps read as cracks and ledges. RockGen.build(kind, variant, lod) returns { body, snow } and meta { size, boxes } (collider boxes). Snow is capped per LOD so body + snow stays inside the triangle budget.