Demo of fragment shaders and SKWarpable with Apple's SpriteKit
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.
Check out the short YouTube video or the related blog post here: http://sound-of-silence.com/?article=20180806
Matt Reagan - Website: http://sound-of-silence.com/ - Twitter: @hmblebee
Source code and related resources are Copyright © Matthew Reagan 2016. The source code is released under the MIT License.