[DEV] better management of light and material for 3D mesh