The effects of transcranial direct current stimulation on cortical dynamics depend on the state of consciousness and the stimulation polarity.