Researchers have developed a solar paint capable of absorbing water vapor and splitting it to produce hydrogen.