Peas do well in direct sunlight. Make sure you plant them in an area of your garden where they'll receive about eight hours of sunlight a day.