It says a lot of of things about the need for proper clothing.
For e.g. Manu Smriti 4.45
नान्नमद्यादेकवासा न नग्नः स्नानमाचरेत् ।
न मूत्रं पथि कुर्वीत न भस्मनि न गोव्रजे ॥ ४५ ॥
nānnamadyādekavāsā na nagnaḥ snānamācaret |
na mūtraṃ pathi kurvīta na bhasmani na govraje ||
He shall not eat food with only one piece of cloth on him; he shall not bathe naked; he shall not pass urine on the road, nor on ashes, nor on the haunts of cows.
This is just one example, I'm sure people can add more.
In Brahmin culture, there are separate types of clothing for married and unmarried men & women - so that, just by looking from long distance, we can find out if a person is married and give them respect or distance. Otherwise, it may lead to men talking to married women with an inappropriate mindset.
In ancient times, only boys used to attend school, so these rules were directed at men. It was then the duty of these men to instruct their wives when they married later in life. Whatever rules apply to men, most of them apply to women too.