-
Notifications
You must be signed in to change notification settings - Fork 1
WebGL notes
Graham Wakefield edited this page May 3, 2021
·
3 revisions
WebGL supports hardware-accelerated (i.e. GPU-based) 3D graphics in the browser, with a very similar interface and comparable performance to desktop-based rendering in OpenGL/OpenGLES.
- Supports 3D textures, VAO, non-power-of-2 textures, depth textures, multiple draw buffers, instancing, ..., i.e. mostly equivalent to Desktop OpenGL 3.2
- Supported on all Chromes, Firefox, and can be enabled on some others
- WebGL2 fundamentals
- WebGL fundamentals -- for WebGL1
WebGL itself is somewhat low-level, and often fiddly to use (and hard to debug); for this reason many projects use higher-level "wrapper" libraries such as Three.js, Bablyon.js, ReactVR, A-Frame etc.