Keywords: aggregation in social caterpillars; feeding behaviour; gaze stabilization; integration of vision and olfaction; local specialization in insect eyes.