Set the default number of samples per pixel to 4 and actually use the value set