Can I apply a CIFilter to ARkit camera feed?
问题 I'm trying to apply a blur effect to camera live steam image in ARSCNView. I have checked the WWDC videos. They only mentioned the custom rendering with Metal, but I didn't found any complete example on web. Any idea how to do that? Updated 1 I have tried to apply a filter to the background. It show incorrect orientation. How can I fix this? let bg=self.session.currentFrame?.capturedImage if(bg != nil){ let context = CIContext() let filter:CIFilter=CIFilter(name:"CIColorInvert")! let image