ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

glsl​Viewer

by patriciogonzalezvivo MacLinux ALL

Sublime Text 2/3 plugin for live coding GLSL Shaders

Details

Installs

  • Total 4K
  • Win 17
  • Mac 3K
  • Linux 1K
Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 2 2 0 0 0 0 0 2 0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0
Linux 0 0 0 0 1 0 1 0 2 1 0 2 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2

Readme

Source
raw.​githubusercontent.​com

GLSL Viewer plugin for Sublime Text

Donate

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

Installation

  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 https://github.com/patriciogonzalezvivo/sublime-glslViewer.git

Usage

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.

Suggestions

This plugin plays really well with this two other plugins:

License

MIT License

Author

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