Using MonoDevelop write for a period of time shader code, found that the efficiency is too low, so swap with sublime Text.
First, installation steps
1, Sublime text official website: HTTP://WWW.SUBLIMETEXT.COM/2, download installs
2, install the package Control https://sublime.wbond.net/installation#st2, download control.sublime-package
3. Open sublime Text, click the menu bar Perferences/borwer Packages
4. Copy the files downloaded from step 2 to the installed Packages directory
5. Restart Sublime Text
6, press Ctrl+ship+p, enter: Install package, press ENTER
7, wait a moment, enter unity shader in the input box, press ENTER, wait for the installation to complete
8, restart sublime text, open a *.shader file, at this time shader syntax has been highlighted, if not highlighted, manually set
To set the file format manually: Click the lower right corner
Select Open all with the current extension as/unity shader
Syntax highlighting
Add
After installing the above Unity3d Shader highlighter and Snippets There are some CG function keywords that do not have syntax highlighting (Fmod ceil), as shown in
And then I put the front of the package also installed, the key is highlighted
GL Shader Validator
OpenGL Shading Language (GLSL)
Shaderlanguages
Shader Syntax (GLSL HLSL Cg)
Unity Shader Editor Sublime Text2