Structured Optical Materials Controlled by Light