Thursday, November 29, 2012

Better syntax highlighting for GLSL

Better syntax highlighting for GLSL:
Sadly, syntax highlighting for GLSL shaders in QTCreator and Kate (KDE) didn’t catch up with the latest language definitions. This posting provides an updated syntax definition that supports up to GLSL 4.30 as well as shaders for OpenGL ES 2.0/3.0. Based on the #version definition inside of the shader it even is able to detect the language version and mark only available keywords, build-in variables and functions as such. Notes to install the free glsl.xml file are provided.



DIGITAL JUICE

No comments:

Post a Comment

Thank's!