"Of all the enemies to public liberty war is, perhaps, the most to be dreaded because it comprises and develops the germ of every other. War is the parent of armies; from these proceed debts and taxes … known instruments for bringing the many under the domination of the few.… No nation could preserve its freedom in the midst of continual warfare."
- James Madison
Shader syntax highlighting
Wednesday, March 5, 2003 | Permalink
After coding shaders for a while I found that it would help a lot if I could get syntax highlighting on my shaders. So I decided to solve the problem and put together a small file of user keywords for MSVC. It supports GL_ARB_vertex_program, GL_ARB_fragment_program, OpenGL 2.0 glslang and DX9 HLSL.
Click the headline to get over to the Cool stuff section for the file and installation instructions.
[ 3 comments
| Last comment by adam (2005-05-03 13:27:32)