Hi dude,
I do like to reply to these weed questions very much ;D
Yes, it will affect very much. As of my experience with weed and also weed is considered as anti-dream herb, so you don't get dream after you smoke weed.
There are many hermits in India, where they smoke weed and sit for meditation for days together without any food or anything else, It actually also acts as a agent to increase your concentration.
So if you going to try weed, think twice, Whether you are going to try meditation or astral projection or Lucid dream. :)
No dreams, but you can be in a though free state for more time if you meditate :)