From IT Skills
Jump to: navigation, search
  • wikipedia:WebGL (Web Graphics Library) is a JavaScript API for rendering 3D graphics within any compatible web browser without the use of plug-ins. WebGL ... allowing GPU accelerated usage of physics and image processing and effects as part of the web page canvas... WebGL programs consist of control code written in JavaScript and shader code that is written in GLSL, a language similar to C or C++
    webGL is on by default for the android browser since Android version#4.3

WebGL - это не API 3D, а на самом деле API растеризации


WebGL 1.0 is based on Category:OpenGL ES 2.0 ... WebGL 2.0 is based on OpenGL ES 3.0


WebGL#1 on iOS versions#8+


in 2019 mainly Chrome, no mobile

JS performance[edit]

2014... On a modern GPU, it can simulate and draw over 4 million particles at 60 frames per second.

250000 from loads HD6850 to 50%

WebGL can't read from and write to the same data during one operation... Transferring data to and from the GPU is slow

Webgl does not allow sharing texture across contexts

OffscreenCanvas API you can now create a WebGL context off of the main thread.