Skip to main content

Ship

GLSL shaders for UI on any layer, driven by time and input.

Updated November 2026

ExodeUI can run a GLSL fragment shader over any layer. You call env.shader(source, uniforms) inside an effect script, and both Shadertoy-style mainImage() and Book of Shaders-style main() code work. Time, resolution and the pointer are passed in for you, and your own params become uniforms.

Free Community plan · Browser, macOS and Windows

Language
GLSL ES 1.0
Styles
Shadertoy, Book of Shaders
Built-in
Time, resolution, mouse
Uniforms
From params

How it works, step by step

  1. 1Add a custom effect

    Select a layer and open Custom Effect.

  2. 2Paste a shader

    Write or paste fragment shader source. Shadertoy code using mainImage, iTime and iResolution works as it is.

  3. 3Call it

    Inside render(ctx, env), call env.shader(source, { u_speed: params.speed, u_tint: params.color }).

  4. 4Clip and drive

    The shader is drawn inside the layer’s shape. Tie params to state machine inputs so the shader reacts to hover or data.

Every control

ControlWhat it does
Book of Shaders stylevoid main() with u_resolution, u_time and u_mouse.
Shadertoy stylemainImage(out vec4, in vec2) with iResolution, iTime and iMouse.
Number uniformA number becomes a float.
Vector uniform[x, y], [x, y, z] or [x, y, z, w] become vec2 to vec4.
Colour uniform"#rrggbb" becomes a vec3.
ClippingThe result is drawn inside the layer’s shape.

What you can make with it

Animated gradient backgrounds

Mesh-like gradients that drift over time.

Hover effects

Ripples or glows that follow the pointer.

Brand surfaces

Noise, grain and liquid textures inside shapes.

Data-reactive visuals

Colour or speed tied to a live value.

Use it from your code

Effect script
export const params = { speed: 0.6, tint: "#7c4dff" };

const FRAG = `
uniform vec2 u_resolution;
uniform float u_time;
uniform float u_speed;
uniform vec3 u_tint;
void main() {
  vec2 uv = gl_FragCoord.xy / u_resolution;
  float w = 0.5 + 0.5 * sin(uv.x * 6.0 + u_time * u_speed * 3.0);
  gl_FragColor = vec4(mix(u_tint, vec3(1.0), w * uv.y), 1.0);
}`;

export function render(ctx, env) {
  env.shader(FRAG, { u_speed: env.params.speed, u_tint: env.params.tint });
}

Three good tools for this

We make ExodeUI, so weigh our pick with that in mind.

  1. 1

    Shadertoy

    Best forWriting and sharing shaders

    Pick it whenYou want to write, learn and share GLSL shaders in the browser.

  2. 2

    Unicorn Studio

    Best forNo-code WebGL effects for websites

    Pick it whenYou want WebGL effects on a website from a visual editor, without writing GLSL.

  3. 3

    ExodeUI

    Best forShaders inside interactive app UI

    Pick it whenYou want a shader clipped to a UI shape and driven by state, pointer and data, next to the rest of your interface.

When another tool is the better fit

Shaders run inside effect scripts, so they work on the web runtimes, Flutter and SwiftUI but not on React Native. For 3D scenes, use a 3D tool.

Questions

Can I use Shadertoy code in ExodeUI?

Yes. Code with mainImage(), iTime, iResolution and iMouse works. The missing uniforms are declared for you.

How do I pass values into a shader?

Pass an object as the second argument to env.shader. Numbers become floats, arrays become vectors and "#rrggbb" colours become vec3.

Is the shader limited to the layer?

Yes. The shader runs at the layer’s size on screen and is clipped to its shape.

Which runtimes support shaders?

Shaders run through effect scripts, which run on the web runtimes, Flutter and SwiftUI. React Native does not run them.

More in the editor

All features →

Open the editor and try it

Free to start. Your work saves to one open .exode file that you own.

ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →