The first layer on top of the plywood or OSB roof deck is underlayment ... the shallow-pitched roof deck. The tricky part in laying the underlayment is keeping it flat and wrinkle-free.