Add computeShadow