Render glass distortion and not background I am doing a simple scene in Cycles with glass shards. I added a plane with the image I want as a background. However, I need to render only the glass shards, and their distortion of the background, and not the background it self.
How could this be done?
There's an easier way.

Select the background plane, go to its object settings, then scroll down to Cycles Settings. Uncheck 'Camera'.



That's it!

Here's the 3D view and the rendered view to demonstrate the effect: