Skip to content

GLSL Shader sandbox for iPad - using glslsandbox.com shaders

Notifications You must be signed in to change notification settings

liufeigit/shadertoy

 
 

Repository files navigation

Shadertoy - GLSL glslsandbox.com shader runner

=========

About this project:

This is a fork from openkava that I hacked on a bit in order to make it work on iPad, and also added a rudimentary gallery view and source editor to help me learn openGL / shader language.

It tries to work like the site, loading a gallery of thumbnail images. You can select a shader from the gallery, run it, edit it, run again.

It is a very rough cut, alpha level software but it does run (some of) the shaders that were made to run on glslsandbox.com. Many of the shaders on the sandbox need more firepower than the ipad provides, and thus the frame rate is really slow on some. Some will not compile, and there is is little protection against bad shader source coming in from the web, and this can cause crashes. If the shader source is very long, it will probably run at a really slow rate or crash.

But for the most part will run a lot of different shaders, and load the source for you to edit and tweak to your heart's content.*

Here are some screenshots:

gallery view

source view

shader running

The opengl parts incorporate code from a bunch of places, such as Ray Wanderlich opengl tutorials and Brad Larson's GPUImage.

  • -- only tested with bluetooth keyboard

About

GLSL Shader sandbox for iPad - using glslsandbox.com shaders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 92.4%
  • GLSL 7.6%