Log inGet started
Package

alpineMaterials.package

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

README.md

AlpineBuild

Writes alpineMaterials' generated files from the recipes in AlpineMaterials.RECIPES:

  • writeMaterials() writes materials/<name>.material for the 24 base materials. Terrain uses groundMaterials' groundSurface, cards use forestMaterials' forestFoliage, solids use forestSolid and the lake uses animatedMaterials' animWater.
  • writeCollection() writes alpine.materialCollection/collection.yaml with names, categories, tags, descriptions, tile sizes and measured texture memory.
  • writeTable() writes AlpineMaterialsTable: one literal asset.resolve per asset the front module uses, so everything that calls AM.get stays publishable.
  • textureMemory() measures the GPU memory of every shipped texture.

all() runs the first three in order. This is tool code: run it after AlpineRecipes.bakeAll() or after changing a recipe.