Description
WebGL Fundamentals is a set of free tutorials that teach WebGL from basic principles, with the stated aim of giving a full understanding of how WebGL works rather than rehashing older OpenGL articles. The lessons start with how WebGL and the GPU process vertices and draw pixels, then move through shaders and GLSL, 2D translation, rotation, scale and matrix math, orthographic and perspective 3D, cameras, and lighting including directional, point and spot lights. Later lessons cover structure and scene graphs, geometry such as lathe shapes and loading .obj and .mtl files, textures including data textures, render to texture and perspective-correct mapping, shadows, cubemaps and skyboxes, skinning, fog, picking, several ways to draw text, ramp textures for toon shading, and GPGPU. There are sections on optimization with indexed vertices and instancing, setup and boilerplate, animation, and common anti-patterns and precision issues. A reference covers attributes, texture units, framebuffers and readPixels, and the site links TWGL, a small WebGL helper library. The tutorials are available in many languages, and a separate site covers WebGL2. The source is on GitHub under gfxfundamentals.…
Highlights
- Lessons from vertices and shaders to 3D lighting
- Textures, render to texture, shadows and skyboxes
- Optimization with instancing and indexed vertices
- Available in many languages
Ratings & Reviews
No ratings yet
Be the first to rate Webgl Fundamentals.
People also visit
Webgl Fundamentals FAQ
What is WebGL Fundamentals?
A set of free tutorials that teach WebGL from basic principles.
Does it cover WebGL2?
The site says WebGL2 is covered on a separate site, webgl2fundamentals.org.
What topics are covered?
Shaders, 2D and 3D math, cameras, lighting, textures, shadows, text, GPGPU and optimization.
Is there a helper library?
The site links TWGL, a tiny WebGL helper library.
What languages are available?
English, French, Japanese, Korean, Polish, Portuguese, Russian, Ukrainian and Simplified Chinese.
Is it free?
The listing shows it as free.
What are the best Webgl Fundamentals alternatives?
Popular alternatives to Webgl Fundamentals include React Three Fiber: The Ultimate Guide to 3D Web Development and GPU.js. See all Webgl Fundamentals alternatives











