Visual perception: Estimation of surface gloss

How do humans interpret visual input to estimate the properties of a surface? In the case of estimation of gloss and lightness, it seems that neural discrimination of simple image statistics plays a large part.