Working direct illumination with shadows