
Which shading language is commonly used to write graphics shaders for WebGL in web browsers?
Medium
Create a free account to see more questions and build your own quiz.
Get StartedWhich shading language is commonly used to write graphics shaders for WebGL in web browsers?
Options:
- GLSL (GL Shading Language)
- HLSL (High-Level Shading Language)
- CUDA C
- Metal Shading Language
Correct answer: GLSL (GL Shading Language)
Explanation: WebGL uses GLSL ES shader programs for GPU rendering in browsers; WebGL 1.0 implementations became widespread after the specification gained traction around 2011.
Created . Updated .