OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Loading

OpenGL Headline News

Better syntax highlighting for GLSL

Category: DevelopersApplications • (1) Comments

Nov 27, 2012

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.

Read more OpenGL news