Three.js From Zero · Article s12-14

S12-14 Generative Texture Pipelines after S10

Season 12 · S12-14 · Specialized Production Patterns

Generative Texture Pipelines after S10 — from prompt to production material

S10 introduced the AI side of the space. This article is the adult version: a generated material is only useful once it survives tiling, cleanup, compression, and art-direction revision.

aimaterialspipeline

1. Why this article exists

This is a direct continuation of the generative thread, but with a stronger production lens. The goal is not novelty. It is a material pipeline people can trust.

2. What we are building in the demo

  • A canvas-driven material stage that mutates pattern, scale, and contrast.
  • A before/after story between raw generation and production-safe cleanup.
  • A vocabulary for when AI is helping asset iteration versus creating cleanup debt.

3. Live demo

The demo below is a compact study model, not a full production system. The goal is to make the article’s mental model tactile: what changes, what matters, and what you would keep when the codebase graduates into a real project.

booting...
Season 12 is deliberately less single-vertical than Season 11. The throughline is still applied production: every demo is framed as a pattern you could reuse in paid work.

4. Implementation sketch

const candidate = await generateTexture(prompt);
const cleaned = normalizeSeams(candidate);
const packed = compressForKTX2(cleaned);
material.map = packed;

5. Production notes

Useful companion articles from earlier seasons:

What usually goes wrong first:

  • Raw generated outputs are rarely ready for repeat use.
  • Tiling, seam cleanup, and compression still matter.
  • If the prompt cannot be art-directed, the pipeline is not mature enough for production.

6. Takeaways

  • Generated textures become useful when they pass through a real asset pipeline.
  • Iteration control matters more than one-shot novelty.
  • Compression and repeatability are part of the definition of “production ready.”