create arrays for shading