My Quest to push native Three.js quality match AAA Game Engines ben3d.ca · 62 po...
HN Best 200 @best
My Quest to push native Three.js quality match AAA Game Engines ben3d.ca · 62 points · 19 comments · HN thread
TL;DR Ben Houston, a Three.js contributor, publishes a progress report on building an AAA-style lighting pipeline in Three.js, going stage by stage from the G-buffer through lightmaps, light probes, SSR, SSGI, reflection probes and TAAU. For each stage it lists what Three.js has, what is in pull requests or drafts, and what is still missing, with measured numbers such as 8x faster probe baking and octahedral normal error figures. The thread is mostly hostile to the post because it appears to be largely AI-generated, and commenters debate whether that matters.
- G-buffer: Three.js already has an MRT prepass, but RGB8 normals are too coarse for SSR; octahedral normal encoding (PR #35480) is proposed, measured at about 15x more accurate with RG16F and over 100x with RG16 snorm at the same 4 bytes per pixel.
- Light probes: LightProbeGrid bakes about 8x faster after batching captures (a resolution-12 grid went from 5.6 s to 1.2 s) and supports multi-bounce; DDGI-style visibility to stop light leaking through walls is a draft.
- Occlusion and SSGI: GTAO and SSGINode exist, but Three.js outputs only scalar visibility, so specular occlusion is heuristic; bent normals/GTSO and a joint bilateral upsample are drafted.
- SSR: Three.js has stochastic GGX SSR with temporal accumulation, but it lacks Hi-Z tracing (a prototype gave no net win yet), coverage output, and a spatio-temporal denoiser.
- Reflection probes and BRDF: a box-projected probe system and cube arrays are in draft/review, but pluggable indirect specular, probe normalization and 128² prefiltering are still to build; the author calls the BRDF integration the biggest missing piece.
- TAAU: a TAAU node exists and renders at reduced resolution, but it is not yet wired into the full pipeline, and texture mip bias is not applied; the author estimates a 4K memory budget drop from about 626 MB to 322 MB at 0.5 scale.
Discussion The thread is dominated by objections to the post's style. Several commenters say it reads as AI-generated and is too long to justify reading, and ask why a long-time graphics developer would publish it that way. The author responds that he uses AI agents and external context over about two months, that he is a longtime Three.js contributor with over 20 merged PRs, and that the series is meant to make the pieces coherent. A second strand asks whether AAA graphics fit Three.js's lightweight, web-first goals at all, with a counterpoint that browser AAA demos now exist. The overall mood is skeptical and frustrated, with a few admiring replies.
- The post is AI slop and not worth reading (many): Several commenters say the text is generated and too long to justify time spent on it. They want the work judged by whether it works, not by the prose.
- Judge the work by results, not by how it was written (some): A minority says the only question is whether the features function and are useful. They note that a fork moving faster than maintainers shows AI can help, and ask whether compatibility and maintainability are what separate acceptable work from slop.
- Blogs should be written by humans to be read by humans (some): Commenters argue that a blog is valuable because a person wrote it, and that handing one's voice to an LLM gives up audience and credibility. Others reply that a blog can be a compile target for technical content.
- AAA graphics in Three.js is a scope question (some): Some doubt that a JavaScript web engine should chase AAA rendering. Others answer that browser demos now show it is feasible, and one argues that such features belong in a separate project unless the basics are documented and tested first.
- The author's credentials and contributions are real (a few): A few replies accept that Ben Houston is a major Three.js contributor and find the technical content impressive, though one notes that this does not answer the criticism of the writing.
- The write-up was informative despite its origin (a few): One commenter found it useful for understanding lighting and reflection settings in a side project, even while noting the text was likely AI-written.
Links from the comments
- oooyay's side project, where they applied three.js lighting and reflection settings after reading the post
- Demo cited by simonw as evidence that AAA-looking rendering in the browser is now getting close
- Post cited by simonw as a recent browser rendering demo showing AAA-style results
#threejs #rendering #globalIllumination #webgpu #aiGeneratedContent #gameEngines