five-on-it / apps/client/src/renderer/materials / litMaterials
Function: litMaterials()
litMaterials(
scene,lights): (name) =>StandardMaterial
Defined in: apps/client/src/renderer/materials.ts:25
A maker of standard materials that take up to lights lights each: copies of one material made here, each under its own name. A copy's colours are its maker's to set (they are plain values: setting them looks at nothing).
Parameters
scene
Scene
lights
number
Returns
(name) => StandardMaterial