Log inGet started
World

Forge and Patina: The Metals Material Collection

Branchmain
Branchesmain
Commit25b188e240

README.md

MetalBaker

The pixel toolkit the metals were baked with: seeded periodic value noise, fBm, streaks (brushed grain), Worley cells, blur and normalise, all on square fields that wrap at the edges, so every map tiles seamlessly by construction.

It also packs fields into texture bytes: sRGB albedo, an occlusion/roughness/metallic mask (glTF channel order), and a tangent-space normal map in the engine's green-up convention, scaled by the real tile size so relief depth is in metres. save writes the PNG as a texture asset next to the package's other textures.

Called by MetalRecipes when a texture set is (re)baked. Nothing calls it at runtime: installing the package ships the baked textures, so a world never runs the baker.