I am following this tutorial: BB- Paint and cycles cavity mask - YouTube. At 12:05, he paints the object with the cavity mask option turned on, resulting in a nice gradient in the peaks and valleys. I am trying to do the same, but my gradient is applied horizontally. Please see the picture below for more information.
Why is this happening? Thanks.