Webgl | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Webgl

Which programing language is used to creat webgl?

1st Jul 2017, 9:31 AM
bong4477
bong4477 - avatar
2 Answers
+ 13
WebGL programs consist of control code written in JavaScript and shader code that is written in OpenGL Shading Language (GLSL), a language similar to C or C++, and is executed on a computer's graphics processing unit (GPU). It evolved out of the Canvas 3D experiments started by Vladimir Vukićević at Mozilla.
1st Jul 2017, 9:46 AM
Dev
Dev - avatar
0
JavaScript is used with WebGL. GLSL is a shader language but you can use WebGL without writing custom shaders. If you want to see some examples using WebGL, check: Volumetric 3D Julia Set Fractal Viewer https://code.sololearn.com/W6e6xWN0T7Jv/#html or Mandelbrot Fractal Zoomout https://code.sololearn.com/WiH4n0rrvD1B/#html Both examples use custom shaders.
18th Oct 2020, 6:31 AM
Josh Greig
Josh Greig - avatar