Log inGet started
Package

mesh.module

Newest version

README.md

mesh

Builds and caches Car Forge's GPU meshes and materials per peer: body meshes (lofted through torqueCars bodygen, shared by every car with the same body settings and look), dented bodies for the damage stages, parametric wheels in thirteen rim styles (shared by wheel settings), cabin interiors (seats, dashboard, steering wheel, door cards), and paint materials on the carForgeBody shader (shared by paint, finish and damage stage, with the lamps bound to the car's named values). stats() reports how much is shared. Used by carForge.vehicle and CarForgeCar.