Log inGet started
World

Snowline Pass: Alpine Mountains and Pine Forest to Walk, with a Mountain Builder

README.md

AlpineMaterials

The front of alpineMaterials. It resolves every Snowline Pass alpine surface by name to a material, for the looks real, painted and toon and the seasons spring, summer, autumn and winter, and never answers nil. Props, trees, cabins and terrain code call it:

  • AM.get(surface, { season?, look? }) returns a material AssetRef or a runtime handle, ready for a Model or an instanced draw.
  • AM.terrainLayer(name, look?) returns { albedo, normal, mask, tint, tiling, color }, a TerrainStream layer record for the six terrain surfaces, with textures named by asset identity and tiling in metres per repeat.
  • AM.leafless(surface, season) tells you which surfaces have nothing to draw: larch in winter, flowers in autumn and winter.
  • AM.ATLAS[surface] gives the cell grid of the flower and shrub atlases.
  • AM.surfaces(), AM.group, AM.source, AM.tileSize and AM.refresh round out the API.

Seasons and stylised looks are built at runtime from the base recipes, once per machine. They are cached in module state, so a reload never releases a handle a Model still holds.