turn image effect on/off at a specific area

hey everyone. so, here’s my problem: If got an character moving with fps Controller from the unity standard assets on a straight plane.
area a -to- b should have the pro image effect “glow”, area b -to- c should be without it.

a=========b====c
I with effect I I not I

the ground has a self illumine material, and the glow effect is attached to the main camera of the fps view. I’m a beginner at scripting, how can i turn the effect now on/off?

You would get that component on the main camera and set enabled to false.

Camera.main.GetComponent(GlowEffect).enabled=false;