ToolsLightweight
Offline bake (Blender/Houdini)
Do the heavy work in Blender, ship the result.
Doing the expensive work ahead of time in a 3D program like Blender, then shipping the result: pre-lit rooms, pre-computed simulations, cleaned-up models. This is how a portfolio scene looks like a rendered film and still runs on a phone.
- Breaks when
- asset pipeline lives outside the prompttexture sizes blow the page budget
- Also called
- baking, VAT, vertex animation texture, glTF export
Prompts
Load a baked room
Given a glTF exported from Blender with a second UV set and a 2048 lightmap baked in Cycles (denoised), load it in Three.js: MeshBasicMaterial with the lightmap on uv2, texture colorSpace set correctly, no lights in the scene. Add one emissive object with a bloom pass so the baked scene still has a live element.
Vertex animation texture
Bake a 120-frame cloth simulation to a VAT (positions in RGB float EXR, 128 × 120) with a Blender Python script, then play it back in a Three.js vertex shader by sampling the texture with the vertex index and time. Include the export script and the shader.
Make the asset fit
Optimize a 40 MB glTF for the web with gltf-transform: dedup, weld, quantize, Draco or Meshopt compression, textures resized to 1024 and converted to KTX2. Give the exact CLI commands in order and the expected size after each step.
Related
Resources · 1
- Blender glTF exporter (glTF-Blender-IO)KhronosGroupGitHub · codeApr 18, 2026