Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Coding unity shaders with unity visual studio [closed]

Recently I've been coding shaders for unity in visual studio and I've noticed that since unity shaders are written in a combination of unity's shader lab language and CG, visual studio 2015 doesn't seem to recognize the languages. Because of this, visual studio is not reconizing keywords, has no intellesense, and worse of all tabbing incorrectly whenever I press enter to go to a new line. I've tried this visual studio extension https://visualstudiogallery.msdn.microsoft.com/ed812631-a7d3-4ca3-9f84-7efb240c7bb5 and it doesn't seem to fully work. I was wondering if anyone on here has had experience working with shaders and has an extension they know about to fix this problem.

like image 809
Enryu Avatar asked Jul 29 '16 13:07

Enryu


1 Answers

That plugin should resolve your problem:

ShaderlabVS

It's supports Visual Studio 2013 and 2015. 2017 is on testing stage.

like image 83
Woltus Avatar answered Nov 08 '22 18:11

Woltus