fix a cos term in direct illu