multidimensional shading