Apply post processing image effects to specific camera layer

Is it possible to create an post processing shader that only applies its effects to the camera it is assigned to, and not cameras that render before?

I want to be able to switch objects to a different layer (a “glow” layer), and have a camera that only renders those objects. That “glow” camera has the glow post processing effect on it.
Unfortunately…the main camera that renders the rest of my scene gets the glow applied also. Pretty much rendering the entire process useless.
It would be very helpful if, when assigning a post processing effect to a camera, you could select whether or not it effects what is drawn by previous cameras.

Image effects apply always to the current content on screen, which includes any pixels rendered with another camera before.
However, some effects like “glow” are using the alpha channel as mask. So all you have to do is clear the alpha channel, either by not writing it in the first place or by clearing it afterwards.

Clearing the alpha could be achieved by using the following image effect (on your first camera):

using UnityEngine;
using System.Collections;

[ExecuteInEditMode]
public class ImageEffectClearAlpha : MonoBehaviour {

	//Shader clears alpha channel only
	private static string clearAlphaMatString =	
@"Shader ""ClearAlpha"" {
	SubShader {
		ColorMask A
		ZTest Always Cull Off ZWrite Off Fog { Mode Off }
        Pass { Color (0,0,0,0) }
	}
	Fallback off
}";

	static Material m_Material = null;
	protected static Material material {
		get {
			if (m_Material == null) {
				m_Material = new Material( clearAlphaMatString );
				m_Material.hideFlags = HideFlags.HideAndDontSave;
				m_Material.shader.hideFlags = HideFlags.HideAndDontSave;
			}
			return m_Material;
		} 
	}
	
	
	// Called by camera to apply image effect
	void OnRenderImage (RenderTexture source, RenderTexture destination) {
		Graphics.Blit (source, destination, material);
	}
}

Many thanks, BIG BUG. I’m still experimenting with this, but it works very well!