The heat under a lamp can get very hot, so yeah, it's the not the best idea to put it under a light. Not only that, but light and heat breaks down THC, so it may give it a harsh smoke.