BLOKS Labs / Live GLSL Editor

Write, Compile, and Explore Fragment Shaders in the Browser

The BLOKS Live GLSL Editor is an experimental shader workspace for writing fragment shaders, testing realtime uniforms, and exploring procedural graphics directly inside BLOKS Labs.

GLSL
Live Compile
Pointer Input
WebGL

Experimental Shader Workspace

Live Fragment Shader Editor

Edit the GLSL code, press Compile Shader, or use Ctrl + Enter to rebuild the preview. The editor currently supports core BLOKS timing, resolution, and pointer uniforms.

Write GLSL

Start with a fragment shader function, modify the code, and compile changes directly in the browser.

Interact Live

Use pointer position, click state, drag motion, time, resolution, and aspect ratio as shader inputs.

Experiment Fast

Test ideas, break things safely, read compile errors, and iterate without leaving the Labs environment.

Supported Editor Uniforms

Realtime Inputs Available in the Editor

The first version of the editor exposes the core BLOKS runtime uniforms used by most single-pass fragment shaders.

uniform vec2 iResolution;
uniform float iTime;
uniform vec4 iMouse;

uniform float uFrame;
uniform float uDeltaTime;
uniform float uAspect;
uniform float uPixelRatio;

uniform vec2 uPointer;
uniform vec2 uPointerDelta;
uniform float uPointerDown;

Audio, feedback, multipass buffers, shader examples, and save/export tools can be added as the editor evolves.

Scroll to top