save before changing ray marching