The Rules of Digital Shading