pub fn update(world: &mut World, assets: Option<&Assets>)
Keeps the material of every painted object in sync with its component and mask.