Edit Shadertoy shaders directly in VS Code with live browser preview, two-way synchronization, and compiler diagnostics.
Important: This VS Code extension requires the companion ShaderToy to VSCode browser extension to connect to your open Shadertoy tabs.
Download the latest browser extension from GitHub Releases (or install from Chrome Web Store / Firefox Add-ons / Edge Add-ons).
Features
Two-Way Live Sync: Edit Image.glsl, Common.glsl, BufferA.glsl–BufferD.glsl, and Sound.glsl locally in VS Code and see changes recompile live in Shadertoy.
Compiler Diagnostics: WebGL shader compilation errors and warnings appear directly in the VS Code Problems panel with exact line numbers.
Pass & Channel Management: Add or remove passes and inspect shader.json channel bindings.
Canvas Snapshot: Capture the live rendered WebGL canvas (preview.png) directly from VS Code.
AI Agent Ready: Built-in AGENTS.md guide and helper scripts for AI-assisted shader coding.
Quick Start
Install ShaderToy VSCode in VS Code.
Install the ShaderToy to VSCode browser extension in Chrome, Edge, or Firefox.