Do mixed-gender onsens in Japan require males to be naked?

I read on a Japan travel blog that mixed-gender onsens/hot springs require men and boys to be completely naked while women and girls can wear a full body wrap towel. Is this true or is it nonsense?