This research identified a pre-lucid state where dreamers begin to doubt their reality but have not yet reached full awareness. It showed that the transition to lucidity happens on a sliding scale of brain activity, rather than being an instant on-off switch.
View paper