lighting method

LightingModel? lighting(
  1. String material
)

The lighting model a material added here is drawn with, once it is loaded: RenderMaterial(lighting: shaders.lighting('RimGlow')). Null before then, and for a material that is off.

Implementation

LightingModel? lighting(String material) => _store.lighting[material];