Films of IR-sensitive material only tens of nanometers thick are tough to make.