Moved serialize to CuboidLightBuffer from LightManager