If you don't reveal a creature card this way, you'll just reveal and randomize your library and Shifting Shadow becomes attached to nothing. It will be put into its owner's graveyard as a state-based action.