SKCropNode masking edge anti-aliasing

前端 未结 3 1359
旧巷少年郎
旧巷少年郎 2021-01-02 00:38

I created a circular mask and animate a sprite inside the mask by using sprite kit SKCropNode class. But the edge of the mask looks pixellated.

Is there a way to use

3条回答
  •  庸人自扰
    2021-01-02 00:43

    As of now (June 2018) I can confirm that the SKCropNode will do per-pixel alpha blending. If the crop node has an SKSpriteNode as a mask, and the mask node uses a texture with an anti-aliased mask image, the crop node will do the proper blending.

提交回复
热议问题