fixed 3d model lighting, serializing