Looks like you want to use the "ghost shader" trick which uses the Sampler Info and Color Blend nodes.