
Colorer5 GLSL scheme
Posted Thursday, 8 July, 2010 - 16:57 by kvarkHello guys!
I wasn't able to find any GLSL highlight scheme for Colorer5 system (http://colorer.sourceforge.net/), so I created my own.
You can find it in the KRI sources:
http://code.google.com/p/kri/source/browse/tools/glsl.hrc
It's made for the Core profile only, but knows every keyword in it (yes, all samplers & texture instructions present).
It doesn't have any KRI-specific rules at the moment.
In order to use it, you should add the GLSL section to the colorer5/hrc/colorer.hrc:
<prototype name="glsl" group="main" description="GLSL"> <location link="custom/glsl.hrc"/> <!--this is where you download the file to--> <filename>/\.(glsl|glslf|glslv|glslg)$/i</filename> <!--the enumeration of file extensions to support--> </prototype>
I hope it's not only me who needs this.
I'm using Bred3 text editor (it has Colorer5 support) under Windows for editing GLSL.
Cheers!
kv
- kvark's blog
- Login or register to post comments


Comments
Re: Colorer5 GLSL scheme
Thanks! Sound good!