Sublime Text 2/3 plugin for live coding GLSL Shaders
Sublime Text plugin for live-coding GLSL Shaders using glslViewer ( MACOS X and Linux only).
Install glslViewer. By default it will be installed on
/usr/local/binif that's not the case edit it the
glslViewer.sublime-settingsfile once you finish this steps.
You can choose to install the plugin it self with Package Control or by cloning this repository on you
PackagesFolder. For example:
cd ~/Library/Application Support/Sublime Text 2/Packages/ git clone https://github.com/patriciogonzalezvivo/sublime-glslViewer.git
Every time you open a
.fragor
.fsfile it will render it through
glslViewerwhich 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
.vertfile and/or 3D model (
.plyor
.obj) with the same name it will open them automatically.
This plugin adds a GLSL Build System to re lunch
glslViewerby pressing
Ctr+
band 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:
glslViewer and this plugin was created and maintained by Patricio Gonzalez Vivo: github | twitter | website