Log inGet started
World

Painted Metropolis

Branchmain
Commit1e1d3a3d4d

README.md

buildingDraw

The cityGen.buildingDraw module is responsible for drawing building records (generated by cityGen.building.plan) at runtime without relying on procGen. It takes building records and kits, then creates instanced draws for each placement. Each draw corresponds to a unique mesh and material slot, with per-instance colors and data passed via shader lanes. This module is called by cityGen.buildingStand to render buildings in the game world, optimizing performance by using instancing.