Shader Lab

A live GLSL shader playground running on your GPU — write a fragment shader and watch it render in real time, ShaderToy-style.

Running here in the page — the same app the desktop opens.
Loading…

A fragment shader is a tiny program that runs once per pixel, every frame, on the graphics card — the technique behind most real-time visual effects. This is a place to write one and see it immediately: type GLSL on the left, and the right side renders it live through WebGL2, with the usual inputs wired up — resolution, elapsed time, frame count and the mouse — under the same names ShaderToy uses, so snippets are easy to adapt.

A gallery of shaders — plasma, a raymarched sphere, a warping tunnel, a starfield, procedural clouds and an animated Mandelbrot — gives you something gorgeous to start from and take apart. Compile errors point at the offending line, and the last working shader keeps rendering while you fix them. It runs entirely on your machine.

What people open it for

Other apps

Open the full desktop