SKLabelNode blurry

Anyone know how to fix what seem to be an issue with SKLabelNode where it is very blurry? this started happening after i update xcode.

SKLabelNode unfortunately gets blurry when an SKCameraNode is used and zooms in.

A dirty solution is to render it with a large font size, convert it to an SKSpriteNode and then scale it down again:

let scaleFactor = 5.0
let label = SKLabelNode(text: "Test")
label.fontSize = 12.0 * scaleFactor

let spriteText = SKSpriteNode(texture: view.texture(from: label))
spriteText.xScale = 1 / scaleFactor
spriteText.yScale = 1 / scaleFactor
addChild(spriteText)

You can try various values for the scaleFactor and see if the result is to your liking.

(Note that if you don't have access to your view you can use SKView().texture(from: label) in line 5).

SKLabelNode blurry
 
 
Q