Unity Shader Editor Sublime Text2

Source: Internet
Author: User
Tags sublime text

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.