Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

GLSL

< >

GLSL is a shading language created in 1992.

#330on PLDB 32Years Old 12kRepos
Wikipedia

OpenGL Shading Language (abbreviated: GLSL), is a high-level shading language with a syntax based on the C programming language. It was created by the OpenGL ARB (OpenGL Architecture Review Board) to give developers more direct control of the graphics pipeline without having to use ARB assembly language or hardware-specific languages.. Read more on Wikipedia...


Example from Linguist:
varying vec4 v_color; void main() { gl_FragColor = v_color; }

Language features

Feature Supported Example Token
Comments ✓
MultiLine Comments ✓
Line Comments ✓
Integers ✓
Floats ✓
Hexadecimals ✓
Octals ✓
View source
- Build the next great programming language · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll