Silkworrms that are fed exclusively on silkworm chow (pulverized mulberry leaves) everyday or so; develop white opaque cocoons. I've only seen transparent cocoons id I hadn't fed them as regularly as I should.
Once they start spinning, the process may take 24 hours to fully complete spinning...