SpriteKitShaders

Demo of fragment shaders and SKWarpable with Apple's SpriteKit

26
1
Swift

Shader Demo

SpriteKit Shaders & Geometry Demo

This demo app shows how SKShader and SKWarpable can be used to create a liquid effect for a simple 2D pool simulation. Particles from SKEmitterNode and falling leaves animated with SKAction are thrown in for fun. The purpose of this code is to provide an introduction to how fragment shaders can be easily used with SpriteKit.

Related Article

Check out the short YouTube video or the related blog post here: http://sound-of-silence.com/?article=20180806

Author

Matt Reagan - Website: http://sound-of-silence.com/ - Twitter: @hmblebee

License

Source code and related resources are Copyright © Matthew Reagan 2016. The source code is released under the MIT License.