add loop support
update raymarch sample, now it works