Is there a way to create a light-independent shader in cycles? The purpose is to create "green screens" to separate a 3d image into depth layers. The output will be a single rgb value (e.g. 0R, 1.0G, 0B) that can be color-selected and set to transparent in Photoshop or GIMP.
The reason to do this instead of using a depth layer to filter a single rendering pass is so that the foreground can be omitted from background renders in a parallax video.
Note: yes, all visibility in the object is off except for the camera.