Wiki

Clone wiki

Core / ShaderPacks

Built-in Shader Packs

Codea version 1.5 comes with (in beta) a default basic shader and 14 examples of vertex and fragment shaders. The examples are:

Basic Shader Pack

Simple shaders for basic tasks.

Blend Images

With uniforms: texture (standard), texture2 and mixAmount. Comments on the shader are available here.

Invert

With standard uniform texture. Comments on the shader are available here.

Effects Shader Pack

Special effect shaders.

Electricity

With uniforms: resolution and time. Comments on the shader are available here.

Ripple

The 'Ripple' shaders are used in Codea's built-in 'Shaders' Example Project. Comments on the shader are available here.

With uniforms: texture (standard), freq and time.

Swirl

With uniforms: texture (standard), texSize, angle and radius. Comments on the shader are available here.

Filters Shader Pack

Blur

With uniforms: texture (standard), conPixel and conWeight. Comments on the shader are available here.

Edge

With uniforms: texture (standard), conPixel and conWeight. Comments on the shader are available here.

Posterize

With uniforms: texture (standard), numColors and gamma. Comments on the shader are available here.

Radial Blur

With uniforms: texture (standard), sampleDist and sampleStrength. Comments on the shader are available here.

Patterns Shader Pack

Procedural patterns.

Arc

With uniforms: a1, a2, size and color. Comments on the shader are available here.

Bricks

With uniforms: mortarColor, brickSize, brickPct and brickColor. Comments on the shader are available here.

Checker

With uniform size. Comments on the shader are available here.

Ellipse

With uniforms: strokeWidth, strokeColor, fillColor and radius. Comments on the shader are available here.

Mandelbrot

With uniforms: maxIter, minRe, minIm, fRe and fIm. Comments on the shader are available here.

Updated