I'm experimenting with using SKShapeNodes in a game, and have found that antialiased SKShapeNodes are very blurry.
Without antialiasing:
With antialiasing:
Is there some way to use antialiasing of SKShapeNodes in SpriteKit to reduce the stair-stepping on lines, but without making the lines blurry as in the second image above?
Nope—that’s what “antialiasing” looks like on a shape node. You might be expecting to see something more like multisampling, but that’s not what SpriteKit is doing here. To get the smooth non-blurry lines you’re looking for you’ll have to draw your shapes into an image and then display that in an SKNode. You might also consider filing an enhancement request on the API.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With