View Single Post
Old 11-27-12, 10:51 PM   #1
News
Registered User
 
Join Date: Jun 2009
Posts: 48,008
Post 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.



More...
News is offline   Reply With Quote