Skip to content
Adds Syntax Highlighting for Unity3D .shader files to Sublime Text
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
messages
.gitattributes
.gitignore
BasicShader.sublime-snippet
ColorProperty.sublime-snippet
Comments (Unity Shader).tmPreferences
README.md
RangeProperty.sublime-snippet
TextureProperty.sublime-snippet
UnityComputeShader.sublime-syntax
UnityShader.sublime-completions
UnityShader.sublime-syntax
messages.json

README.md

What does this do?

This is a package for Sublime Text 3 which adds syntax hightlighting, snippets and completions for Shaders used by the Unity3D Engine.

Currently the following features are included:

  • Highlighting of .shader and .cginc files
    • Highlights most keywords, variables, strings and comments
    • Uses C++ highlighting (with a few additional keywords) inside CGPROGRAM/ENDCG
  • Simple snippets for creating properties
  • Highlighting of .compute files
    • Uses C++ highlighting with a few additional keywords added

DISCLAIMER

The syntax highlighting is rather incomplete. If there are any syntax errors you encounter or any features you want added please don't hesitate to create an issue.

You can’t perform that action at this time.