Solar energy in three dimensions