1
I have added a SKSpriteNode in the scene, and I want to add a white color on it to brighten.
let armySprite = SKSpriteNode(imageNamed: "army_img")
armySprite.position = tile.Position
scene.addChild(armySprite)
armySprite.colorBlendFactor = 1
armySprite.color = .white
However, there is nothing happened. So, how can I add a white color filter on armySprite to make it more bright?
The original img is like left one and I want it to be right one
Thanks.