Lab / Shader Playground

Shader Playground

Write GLSL fragment shaders and see them render in real-time. Pick a preset or write your own from scratch.

1
2
3
4
5
6
7
8
9
10
11
Compiled successfully
0 FPS
Available Uniforms
uniform float u_time — seconds since start
uniform vec2 u_resolution — canvas size (px)
uniform vec2 u_mouse — mouse position (0-1)
varying vec2 v_uv — UV coordinates (0-1)

Everything runs on your GPU via WebGL 1.0 — nothing is sent to a server. Inspired by Shadertoy.