ShaderlabVS is a Visual Studio Plugin for Unity Shaderlab programming. Latest releae build can be found at Release page.
- .shader
- .cginc
- .glslinc
- .compute
- .cg
- .hlsl
- Visual Studio
- Visual Studio SDK
- Download and install Visual Studio SDK
- Open ShaderlabVS solution
- Press F6 to build solution
- 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:
- Set Start exteral program to the path of devenv.exe (the Visual studio main program)
- set Comand line arguments to /rootsuffix Exp. Below is a screenshot for the settings:
- Visual Studio 2013
- Visual Studio 2015
- Visual Studio 2017
The other version are not tested, not sure if there are also work or not.
晨曦 Rocky Lai