Free through lesson 3

Three.js Fundamentals Course

From the minimal scene/camera/renderer setup to lighting and shadows, textures and PBR, loading glTF models, mouse controls, post-processing, and publishing. Over 20 lessons, you'll work up to showing a model you made in Blender in the browser. All code was actually rendered in headless Chromium, with the values shown read straight from the result.

Curriculum

The 20 lessons are split into 5 chapters. We recommend working through them in order starting from Chapter 1, but feel free to skip around to whatever interests you. * Three.js loads from a CDN, so it can't run in the browser here. Save the code to an HTML file and open it through a local server such as python3 -m http.server. This course assumes you already know the material in the JavaScript course.

Chapter 1 — Rendering 3D in the Browser (lessons 1–4)

You'll render a cube with just a scene, camera, and renderer, and check what shape (geometry) and appearance (material) actually are in numbers. You'll finish by moving objects through position, rotation, and parent-child transforms, redrawing every frame in a loop.

Chapter 2 — Lighting and Appearance (lessons 5–8)

You'll add lights to shade objects, then make things look convincing with shadows, textures, PBR materials, and environment maps. You'll be able to fix the classic trip-ups — pitch black, no shadow, dull colors — by getting at their actual causes.

Chapter 3 — Bringing In Models (lessons 9–12)

You'll load glTF (.glb) files, and get a handle on export settings from Blender and how to line up scale and coordinate systems. You'll finish by playing back animations baked into a model.

Chapter 4 — Making It Interactive (lessons 13–16)

You'll add mouse controls with OrbitControls, identify clicked objects with raycasting, and tune parameters live with lil-gui. You'll finish with responsive handling that holds up no matter how the screen size changes.

Chapter 5 — Finishing It as a Piece (lessons 17–20)

You'll make things glow with a Bloom post-process, lighten the load by cutting draw calls, and add a loading screen. You'll finish by publishing it and showing what you built to the world.

Once you've finished all 20 lessons, move on to Blender to make your own 3D models. A membership unlocks every course.