Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>GLSL & GDShaderNew to Visual Studio Code? Get it now.
GLSL & GDShader

GLSL & GDShader

1hue

| (0) | Free
Docs, autocomplete, syntax highlighting, compile errors, and live preview.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GLSL & GDShader for VS Code

Comprehensive language support for GLSL, GLSL ES and GDShader.

No dependencies (almost).

  • Hover docs and completion
  • Go to definition and outline
  • Compile errors from glslang
  • #include support
  • Custom built-ins - add declarations in Settings
  • Live preview (optional)

GLSL hover docs and lit sphere preview with uniform sliders

GDShader completion with Godot docs and compile errors

GDShader render_mode completion

Settings screen

Live Preview

Press Ctrl+Shift+V or the   preview   button in the editor title bar to open the preview for a given shader file.

Preview sliders for a uniform are controlled via [range] = default value comment:

uniform float roughness; // [0, 1] = 0.5

Uniforms automatically filled-in:

Uniform
float time / u_time Seconds
vec2 resolution / u_resolution Canvas size (px)
vec2 mouse / u_mouse Mouse position (px)
int frame / u_frame Frame count
vec3 lightPosition cameraPosition World space

License

  • MIT
  • Built-in docs from:
    • Khronos GLSL spec (CC BY 4.0)
    • Godot docs (CC BY 3.0)
  • Licenses bundled in extension:
    • glslang (BSD)
    • SPIRV-Cross (Apache-2.0)
    • three.js (MIT)
    • Codicons (CC BY 4.0)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft