Baking Shadows onto textures in Cycles Renderer I'm trying to bake a lightmap in Cycles Renderer to a texture.



The problem is it only bakes Ambient Occlusion properly, but no shadows.
You can see in the screenshot to the left that in the Rendered Preview there are some hard shadows, but when I bake that object to an image the shadows are gone.

What am I doing wrong? 

Thank you!
FIXED!

I had a glass object that I hidden in the scene. I had to move it away from between the lamp and the target mesh.