ShaderlabVS is a Visual Studio plugin for Unity Shaderlab programming
Clone or download
Latest commit 7498e9b Nov 16, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
Src Update UpdateLexData.cmd Jul 2, 2017
img update readme Mar 11, 2017
.gitattributes :octocat: Added .gitattributes Aug 26, 2014
.gitignore update for VS2017 Apr 1, 2017
License.txt update liencse Mar 4, 2017 update Nov 17, 2017 update Nov 17, 2017



ShaderlabVS is a Visual Studio Plugin for Unity Shaderlab programming. Latest releae build can be found at here or the Release page.

If you are looking for Shaderlab extensions for Visual Studio Code, you can take look at ShaderlabVSCode(Free).

Open Source Love GitHub version

Supports files:

  • .shader
  • .cginc
  • .glslinc
  • .compute
  • .cg
  • .hlsl


Syntax Hightlighting and outlining




Code Completion


Signature help for CG and Unity built in functions


Supports Dark Theme




  • Visual Studio
  • Visual Studio SDK

How to debug in Visual Studio

  1. Download and install Visual Studio SDK
  2. Open ShaderlabVS solution
  3. Press F6 to build solution
  4. If you want to debug it in Visual Studio, and encounter problems, please make sure the Start exteral program and Comand line arguments in the Debug tab of ShaderlabVS project settings have value as follow:
    1. Set Start exteral program to the path of devenv.exe (the Visual studio main program)
    2. set Comand line arguments to /rootsuffix Exp. Below is a screenshot for the settings:

Support Visual Studio Versions:

  • Visual Studio 2013
  • Visual Studio 2015
  • Visual Studio 2017

The other version are not tested, not sure if there are also work or not.

Thanks To


Buy me a coffe

If you like this extension, and want to buy me a coffee. You can via Paypal.