4 ms·
WebGL is just an OpenGL ES 2 binding to JavaScript. OpenGL ES 2/3 is a subset of OpenGL 3/4. Angle translate GLSL shaders and OpenGL calls to DirectX
by paraboul 13y ago
WebGL is just an OpenGL ES 2 binding to JavaScript. OpenGL ES 2/3 is a subset of OpenGL 3/4. Angle translate GLSL shaders and OpenGL calls to DirectX
- pjmlp 13y agoSadly it is a bit more than "just", specially if one needs to write code across plain GL and GL ES.
- kaonashi 13y agoWhat hurts the most? I would think the imperative drawing stuff would be missed least.
- pjmlp 13y agoWhich OpenGL flavor to support 2.x, 3.x or 4.x, followed by which GLSL level to support, and which GL ES flavor to support 1.x, 2.0 or 3.0 and their respective GLSL levels. Not to mention vendor specific extensions and workarounds driver bugs. So one ends with multiple code paths, if several versions are to be supported. Similar to how HTML or POSIX are portable, but then again not so much.