cipixellate

How do you add a CIPixellate Core Image Filter to a Sprite Kit scene?

北城以北 提交于 2019-12-23 10:27:48
问题 How do you add a CIPixellate Core Image Filter to a Sprite Kit scene? I have a SpriteKit scene that is an SKScene or subclass of it. I want to add a Core Image filter to the scene. Specifically a CIPixellate filter, so I can have 8-bit game heaven for free. How do I do that? 回答1: It turns out this is not hard at all. It's just that the Core Image Filter docs are OLD and crufty and in the case of SpriteKit , the docs are flat out misleading or incomplete, including the SKEffectNode docs. The