Write Zero lines of ThreeJS! Now compile your Blender scenes automatically into ThreeJS websites!
Built with š by Preetham Pemmasani
v01.mp4
- Zip the
io_three_blenderfolder (or grab it from the releases) - Open Blender and navigate to
Edit > Preferences > Add-ons > Install - Select the zip file
- Enable the addon by checking the box next to
Import-Export: Three-Blender
Requires Blender 4.2+.
- Create and set up your scene in Blender
- Navigate to Output Properties panel
- Find the
Three.js Exportsection - Enter a path where your HTML file should be saved
- Click
Export Scene - Serve the output folder with any static server and open it in a browser
| Blender | Three.js |
|---|---|
| Perspective / ortho cameras (focal length, clipping, lens shift) | PerspectiveCamera / OrthographicCamera |
| Sun lamp | DirectionalLight with shadow frustum |
| Point lamp | PointLight with range, decay and soft shadows |
| Spot lamp (incl. Track-To constraints) | SpotLight with cone angle and penumbra |
| Area lamp | RectAreaLight |
| HDRI world | Equirect background + image-based lighting (RGBELoader) |
| World mist | THREE.Fog |
| AgX / Filmic / Standard view transform | Matching tone mapping + exposure |
| Meshes | Draco-compressed GLBs; linked duplicates share one download and GPU buffers |
| Procedural shader nodes | Baked into embedded PBR textures (Cycles bake, auto UV if needed) |
| Shape keys | glTF morph targets; drive via model.userData.shapeKeys["Name"](0..1) |
| Keyframe animations | Baked GLB clips playing through AnimationMixer |
| Animated cameras / lamps | Transform tracks baked per frame into AnimationClips |
| Compositor Glare + camera DOF (with Post-Processing toggled on) | pmndrs/postprocessing composer: SMAA, BloomEffect, DepthOfFieldEffect, tone mapping |
- Support for Volumetrics
- Particle systems and hair
- Procedural texture baking
- More compositor effects in the post-processing chain (SSAO, motion blur)
Run the headless smoke test against a real bpy build:
uv venv .venv --python 3.11
uv pip install --python .venv bpy
.venv/python three-blender/test.py # Windows: .venv\Scripts\python.exe- Fork the repository.
- Clone the repository.
- Create a new branch.
- Make changes and commit them.
- Push the changes to your fork.
- Create a pull request.
- Make sure to follow the code of conduct.