wl_geo.module
README.md
wl_geo
Procedural geometry. Every builder returns a Geo — flat positions,
normals, uvs, colors and indices arrays in the shape
renderer.mesh.create takes, in local space.
Vertex colour multiplies the albedo of the pbr shader and is read as LINEAR
light, so a hex palette must be decoded before it goes in (wl_creatures does).
Builders: sphere, tube, card, leaf, tree, rock, grassTuft, fern,
bush, structure, tool, wildcoreOrb, plus append for merging, box,
tpos/qAxis/qMul for transforms and recomputeNormals for displaced
surfaces.
Callers: WildlandsWorld, WildlandsPlayer, wl_character, wl_creatures.