An SKEffectNode object applies a Core Image filter to its rendered output, allowing you to incorporate sophisticated special effects in a scene. Available in iOS 7.0 and later.
Questions tagged [skeffectnode]
41 questions
2
votes
1 answer
Show a video with transparent background on ARKit
I am trying to simply show a video removing part of its background which is meant to be transparent. I've tried several approaches courtesy of Stack Overflow, and so far they are all sub-par. The one that came closest to the results I'm seeking is…

Jacobo Koenig
- 11,728
- 9
- 40
- 75
2
votes
0 answers
SpriteKit: blurred background SKNode
How can I blur the background of a single transparent SKNode, while leaving the main background clear? I want something like this:
The background is a single root SKNode and there's another SKNode added as a child. The child node is transparent…

bcattle
- 12,115
- 6
- 62
- 82
2
votes
2 answers
how do I cut a hole in a sprite image or texture to show what is behind it using spriteKit in swift
I would like to display a bunch of draggable images in spriteKit. Some of the images will require me to cut a hole in the graphic dynamically so I can see what is behind the images. And as I drag around the images I'll be able to see the other…

Neo42
- 642
- 3
- 10
- 31
2
votes
1 answer
How to Improve SKEffectNode Performance (Swift)?
so in my project I have an SKEffectNode that I use to provide a glow effect around some of my spriteNodes. I use a spriteNode (blurNode) to get the color of my obstacle and then give it to the effectNode. This works fine.
let blurNode =…

Matthew Anguelo
- 293
- 2
- 12
2
votes
0 answers
Applying a CIFilter with SKEffectNode to a SKSpriteNode
I am trying to apply a CIFilter with SKEffectNode to a SKSpriteNode.
Can't get this to work and not sure why. I got this working using a blur but cannot get the mono photo effect.
Anyone have any insight? Thanks again.
//Mono Effect (not working)
…

Lyres
- 343
- 4
- 14
2
votes
3 answers
SpriteKit - Adding a blur to the entire Scene
I am trying to blur my entire GameScene when my pause button is pressed. I have a method called blurSceen() but it doesn't seem to be adding the effect to the scene. Is there a way I can accomplish this or am I doing something wrong? I have viewed…

Brejuro
- 3,421
- 8
- 34
- 61
2
votes
1 answer
iOS9 beta - SKEffectNode/CIFilter bug?
I'm not sure if this is a bug or if I went wrong somewhere:
I have a class A which is a subclass of SKScene and a Class B which is a Subclass of SKEffectnode. I then add the class B as a child of class A.
The class B has a blurfilter…

milanwittpohl
- 101
- 7
2
votes
0 answers
SpriteKit: Determine drawing order for hit test
i am using Spritekit and want to have a hit test, that works intuitive.
In other words: I got a position x,y and want to to find out which is the top most node that was hit. (And with "top most" i mean the one that the user actually sees as…

NieLernend
- 190
- 9
2
votes
4 answers
SKEffectNode - CIFilter Blur Size Limit - Big Black Box
I am trying to blur multiple SKNode objects. I do this by having a parent SKEffectNode with a CIFilter set to @"CIGaussianBlur". Like so:
- (SKEffectNode *)createBlurNode
{
SKEffectNode *blurNode = [[SKEffectNode alloc] init];
…

rizzes
- 1,532
- 20
- 33
2
votes
1 answer
How to correctly turn on and off SKEffectNode for a SKNode?
I want to show an effect node if a node is selected. If not, I want to turn off/remove that effect. (I set a node as selected in touchesBegan.)
I use the code below. Turning on and off the effect node is mixing my mind up because I add the main node…

frankish
- 6,738
- 9
- 49
- 100
1
vote
1 answer
Warp effect for SKSpriteNodes passing through it?
I'm trying to apply a warp/distortion effect to all SKSpriteNodes that pass through a fixed rectangle sized area on the screen. Shown in the image below, the same SKSpriteNode will start at the top of the screen and work its way down allowing the…

F.Lachlan
- 37
- 6
1
vote
1 answer
FPS issues with adding a blur using SKEffectNode
If there a better way of creating a blur effect? It seems like the way I am currently doing it creates FPS issues especially on older phones. It seems like the higher the blurAmount the lower the FPS. Could the blendMode be the reason here? …

Brejuro
- 3,421
- 8
- 34
- 61
1
vote
0 answers
In Swift/SpriteKit Can you use a ShapeNode as mask in a CropNode
I've been trying to combine randomised SKShapeNode shapes with textures using a SKCropNode but it doesn't seem to work. I assume that SKCropNodes only work with bitmap graphics such as PNG.
//define sprite as crop node
let cropSprite =…

Kwangle
- 349
- 2
- 15
1
vote
1 answer
SKEffectNode walk through children crashed (iOS10 Spritekit)
I have a SKEffectNode that contains a node that will change it's children dynamically through times (Remove children and add children dynamically very often). And I keep getting this crash log (only happens on iOS10) on Fabric however i cannot…

WeiHan Hung
- 155
- 1
- 7
1
vote
1 answer
Swift- SKEffectNode takes a while to appear
So I have a pause button in my game that when you press it, the scene gets paused, and everything but one SKNode (the pause menu) gets blurred out. I'm doing this by creating a SKEffectNode that has a filter, and adding everything but the pause menu…

Yoli Meydan
- 161
- 1
- 5