Add shadows computation. Clean code too.