Last night I had the experience of leaving my body, and walking around my house. Some parts of the house were lit up and others were dark, if I walked towards the dark areas my connection would fade and i would begin to wake up. If i walked in the brighter areas other areas begin to light up and I could continue walking around. Does anyone know why this is? 
I've also had this experience when lucid dreaming.

I've also had this experience when lucid dreaming.