Log inGet started
World

Rune and Ember: The Fantasy and Magic Material Collection

Branchmain
Branchesmain
Commitd4577ba01c

README.md

RecipesStone

The bake recipes for fantasyMaterials' carved and built stone: runeStone (the shared texture set of runeStoneBlue and runeStoneEmber), cursedStone, ruinBlockMossy, goldLeafOrnament, runeStonePainted and runeStoneToon. FantasyRecipes loads it and calls recipes(H, B) with its helpers and FantasyBaker; each recipe returns the maps of one material at its real size, periodic over its repeat so it tiles with no seam.

  • runeStone (1 m): dark weathered granite (grey-black ground, sparse pale feldspar and quartz grains, streaks, pocking, sparse crustose lichen) carved with an inscription: three lines of big Elder Futhark runes (150 mm) with word gaps and separators and plain stone between the lines. The grooves are ~7 mm deep; the emission mask is a groove-floor gradient (grooveGlow: a thin hot band on the deepest line falling to 0 past the lip), so fantasyGlow draws a thin white-hot core in saturated colour; the light on the surrounding stone is the shader's spill. Each rune carries its own pulse phase in ORM alpha.
  • cursedStone (1 m): near-black blue-grey pillowed volcanic stone (stones ~160 mm) split by a warped power-Voronoi web of veins in a hierarchy (bold major veins up to ~12 mm, faint thin minor ones) and hairline fissures; the vein mask is the same groove-floor gradient (white-hot centreline, violet lips, dark glassy violet albedo). The pulse phase is the geodesic distance along the vein web from a few hearts, so pulse_mode 1 pulses travel along the veins.
  • ruinBlockMossy (2 m): coursed ashlar with eroded arrises, cracks, stains and lichen; moss cushions grow from the joints and block tops.
  • goldLeafOrnament (0.5 m): a mirrored acanthus and volute relief up to 15 mm high, gilded (metallic 1) and rubbed through on the high points to red bole and white gesso (metallic 0), grime in the hollows, craquelure and 83 mm leaf squares.
  • runeStonePainted (1 m, 512 px): painterly faceted boulders with painted light and dark in deep blues (the hand-painted art direction), curling chiselled runes on about half the larger stones, their glow mask a groove-floor gradient with a thin core.
  • runeStoneToon (1 m, 512 px): flat cel slabs with bevel bands, ink outlines and cracks, and flat glyphs as the emission mask in albedo alpha (outer band ~0.6, core 1), for the fantasyToon shader, which adds the bright core band and the toon halo.

Tool code: call it through require("~fantasyMaterials.FantasyRecipes").bake(id), never from a component.