i didn’t know in which subforum to put this. shader/scripting?
well, you probably know about the syntax highlighting tool for visual studio, NShader.
it’s a great tool which supports custom colors etc, but it wasn’t updated a while and didn’t support .shader file extensions.
so i just grabbed the source and added the missing pieces. you can download it here.
note: only makes sense if you use cg. if anyone is interested i might look into shaderlab support
Anyway it doesn’t Highlight my code inside VS2013…the addin looks like installed though ?
Here is a piece of the code of a sample shader named ColorizeMe.shader
if it doesn’t work. go to the folder where it is installed.
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\some random numbers
now copy the downloaded files into that folder.
now go to regedit and search for
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\FontAndColors\Cache
and delete it.
This is awesome. Thank you very much for your work!
But I assume it is not possible to customise the colours? This would be a key feature, as the colours used do not work well with the dark theme.