Congratulations, that second dream you had was a lucid dream.
"arrrgh! i know this is a dream and it's stupid" You were aware that you were in a dream, therefore you were lucid. No problem with awareness on that one!
Also, were you aware that you were dreaming in that first dream? If so, that was a lucid dream as well.
Awareness in dreams comes when you practice reality checks, or "RCs" during your daily routine. At least, that's one way of doing it. Which method are you trying to master right now?
Bookmarks