I'm applying some pixel bender shaders to photos in an app I'm building, and I'd like to keep them constrained to the original shape of my photo. However, when I rotate the photo, the filter draws outside the bounds. I've tried applying a mask, but the filter ignores it. Is there any way to keep pixel bender filters (or I suppose any bitmap filter) from drawing outside the bounds of the object they're being applied to?

