Set glow function