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)




Live Preview
Press Ctrl+Shift+V or the 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:
- Licenses bundled in extension:
| |