NShader: Visual Studio Syntax Highlighter for GLSL, HLSL and Cg Languages

NShader: Visual Studio Syntax Highlighter for GLSL, HLSL and Cg Languages



If you code your real time shaders in Visual Studio, here is an extension that could be handy. NShader is a Visual Studio 2008 / 2010 extension that brings syntax highlighting for common shading languages: GLSL (OpenGL), HLSL (Direct3D) and Cg.

NShader does its by looking at the file extensions:

  • .fx, .hlsl, .vsh, .psh files : HLSL syntax highlighter.
  • .glsl, .frag, .vert, .fp, .vp, .geom files : GLSL syntax highlighter.
  • .cg, .cgfx, files : CG syntax highlighter.

[via]




Geeks3D.com

↑ Grab this Headline Animator