Three.js r167 enables WebGPU by default
Three.js r167, released in July 2024, enables WebGPU by default when the browser supports it.
What this means
When WebGPU is available, Three.js will automatically use WebGPURenderer instead of requiring manual setup. WebGL remains the fallback for browsers without WebGPU support.
Benefits
- Automatic detection: no code changes needed for WebGPU benefits
- Graceful fallback: WebGL still works everywhere
- Future-proof: apps automatically improve as browser support expands
For developers
Test your Three.js apps in WebGPU-capable browsers to ensure they work correctly with both renderers.