What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-29 11:41:02
environment texture in three.js
// Load envMap. var textureLoader = new THREE.TextureLoader(); var texture = textureLoader.load('/path/to/env.jpg'); // Load model. modelLoader.load('/path/to/model.foo', (object) => { // Apply envMap to model. object.traverse((node) => { i... Add solution
Best helpers
Ranking is empty