Skip to content

Demo of fragment shaders and SKWarpable with Apple's SpriteKit

Notifications You must be signed in to change notification settings

matthewreagan/SpriteKitShaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 (C) Matthew Reagan 2016. The source code is released under the MIT License.