Sublime Text 2/3 plugin for live coding GLSL Shaders
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
messages 0.5.1 Jul 19, 2018
.gitignore first commit Apr 24, 2015
Default.sublime-commands 0.5.1 Jul 19, 2018
GLSL.sublime-build trying to lunch from build system Apr 28, 2015
LICENSE version + settings Apr 25, 2015 sB 2 and 3 Jan 1, 2016
dependencies.json No dependencies Oct 31, 2015 0.5.1 Jul 19, 2018
messages.json 0.5.1 Jul 19, 2018

GLSL Viewer plugin for Sublime Text


Sublime Text plugin for live-coding GLSL Shaders using glslViewer ( MACOS X and Linux only).


  1. Install glslViewer. By default it will be installed on /usr/local/bin if that's not the case edit it the glslViewer.sublime-settings file once you finish this steps.

  2. You can choose to install the plugin it self with Package Control or by cloning this repository on you Packages Folder. For example:

cd ~/Library/Application Support/Sublime Text 2/Packages/
git clone


Every time you open a .frag or .fs file it will render it through glslViewer which will reload the shader every time you save it.

If the shader contain any uniform sampler2D, a input label will apear down your Sublime Windows where you can enter the absolute or relative path to the image you want to load.

Also if you have a .vert file and/or 3D model (.ply or .obj) with the same name it will open them automatically.

Extra commands

This plugin adds a GLSL Build System to re lunch glslViewer by pressing Ctr+b and also adds a command to "create a new fragment shader template for glslViewer" you can use to start working on a new shader.


This plugin plays really well with this two other plugins:


MIT License


glslViewer and this plugin was created and maintained by Patricio Gonzalez Vivo: github | twitter | website