Tawa / Woahdude

iOS OpenGL Shader Language app!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Woahdude

iOS OpenGL Shader Language app! Woahdude is an Open Source project that lets you test your GLSL programs directly on iOS devices.

The app comes with predefined Shaders copied from http://glslsandbox.com for your enjoyment!

List of predefined shaders

You can view each one of them in action, and change the screen resolution (to test performance) from the UISegmentedControl on the top. You can change the uniform color from the bottom RGB sliders, and you can change the time scale from the white slider!

Shader in action

You can also fork the shader program and customize it to your own needs!

Shader editor

Requirements!

Just make sure to implement the 4 uniforms: time, color, mouse and resolution.

time is a single float uniform and represents the time progress color is a vec4 float uniform that represents the values of the RGB sliders mouse is a vec2 float uniform that represents the location of touch on the screen resolution is required for the size of the GLKView that is rendering the shader

Here's an extra screenshot of an awesome shader!

Waves

About

iOS OpenGL Shader Language app!


Languages

Language:Objective-C 70.7%Language:GLSL 18.6%Language:C 10.7%