Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
124 views

Why does this SKShader display correctly in Xcode particle editor but not in the app I'm building?

I'm experimenting with using an SKShader attached to an SKEmitterNode. The shader just creates circles. The particle emitter is based on the firefly particle template in Xcode. I left it as is aside ...
Chester Fritz's user avatar
0 votes
1 answer
51 views

Changing ever 4th pixel with a shader

I'm new to shaders and can't quite figure out why the mod() function is not working as I'd expect. I'm writing a shader for an SKScene in SpriteKit using Xcode. I can change to whole screen red so I ...
textfield's user avatar
2 votes
1 answer
636 views

Xcode 7 / iOS 9: Using OpenGL fragment shader in SKNode is not compiling

I created a Swift project using an SKScene with SKNode to show the result of a fragment shader. The project was created with iOS 8.x and Xcode 6.x. Since I upgraded to use Xcode 7 and iOS 9 (currently ...
mjrehder's user avatar
  • 317