Learning to See Second Order Information in Shading Patterns