Are you using the Cycles render engine or the Blender Render engine?
You need to disable shadeless by pressing N-tick off shadeless