Light Rules for the Digital Painter