If I am not mistaken, clothing started as a way of defending self from l weather. The Earth , as we have the seasons, goes from periods of extreme heat and extreme cold, and the in between. This cycles are huge in time. Then as away of disguise smells (since people did no bath)... Then religion did the rest...with the crusades.
I derailed and did not answer your question, Shame came, I reckon ,with the crusades. Women where seen either as witches and burned in the fire, or either as temptations so they should behave and have their bodies covered.