Log inGet started
Package

ArcticMaterials.module

Newest version

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

README.md

ArcticMaterials

The front of arcticMaterials: every arctic surface by name, in the five looks realistic, painted, cartoon, lowpoly and pixel, never nil.

  • AM.get(surface, { look? }) returns a material for a Model or an instanced draw. With no look it follows the world look (ArcticLook.get()).
  • AM.terrainLayer(surface, look?) returns { albedo?, normal?, mask?, tint, tiling, color }, a TerrainStream layer for every name in AM.TERRAIN.
  • AM.footstep(surface) answers freshSnow, crust, ice, rock or scrub.
  • AM.surfaces(), AM.TERRAIN, AM.LOOKS, AM.ATLAS, AM.group, AM.color, AM.source and AM.refresh round out the API.

Every material multiplies vertex colour RGB into its albedo.