It partially depends on the materials you’re using. For example, an 18˚ pitch would be too shallow for natural slate, since rainwater would be more likely to seep in. However, if your roof was made of a material such as sheet metal, you could get away with a lower pitch.