Question: SpriteKit particles – how to set filteringMode to nearest
With standard SKSpriteNodes, I am using nearest as the filteringMode:
snowman.texture?.filteringMode = SKTextureFilteringMode.nearest;
I want to use this for my particle effects too.
SKTextureFilteringMode.nearest; doesn't work for particleTextures (have tried), but managed to find
particleTexture?.filteringMode, but can't find any info on how to set this to nearest. The following DOES NOT work:
node.particleTexture?.filteringMode = .nearest
How can I achieve this?