Log inGet started
World

Slag Saint

Branchmain
Branchesmain
Commit5e87281b36

README.md

art/emberward/forge

The hard-surface geometry kit the Emberward is built from.

Every call returns a plain geometry table — { positions, normals, uvs, colors, indices } — which is what renderer.mesh.create takes.

box(c, s, opts)a bevelled box; the chamfer is what catches the key light
prism(profile, y0, y1, opts)a swept, tapered section — limbs, blades
lathe(profile, segs, opts)a revolved profile — studs, rings, flasks
shell(opts)a curved plate with real thickness and a rim: the armour workhorse
tube(path, radius, segs, opts)a swept tube — straps, wraps, chain
ngon(n, phase)a regular profile for prism
merge mergeAll mirrorX translate scale rotateassembly
paint(g, fn)repaint every vertex from its position
noise fbmdeterministic value noise — the same wear every boot
wear(opts)the standing wear pass: soot low and behind, rub high and forward, grain everywhere

Vertex colour is load-bearing: the builtin pbr shader multiplies base colour by it, so soot, edge wear and polish are baked into the mesh rather than into a texture. That is what keeps flat plate from reading as flat colour.