diff --git a/examples/screenshots/webgpu_pmrem_scene.jpg b/examples/screenshots/webgpu_pmrem_scene.jpg index 46a97fc6d40157..7701b8aafd7160 100644 Binary files a/examples/screenshots/webgpu_pmrem_scene.jpg and b/examples/screenshots/webgpu_pmrem_scene.jpg differ diff --git a/examples/webgpu_pmrem_scene.html b/examples/webgpu_pmrem_scene.html index 31a7823a6ce692..f0d15f01388abf 100644 --- a/examples/webgpu_pmrem_scene.html +++ b/examples/webgpu_pmrem_scene.html @@ -58,8 +58,9 @@ controls.update(); // + const loader = new THREE.CubeTextureLoader().setPath( './textures/cube/Park3Med/' ); - scene.background = new THREE.Color( 0x006699 ); + scene.background = await loader.loadAsync( [ 'px.jpg', 'nx.jpg', 'py.jpg', 'ny.jpg', 'pz.jpg', 'nz.jpg' ] ); let model; @@ -91,8 +92,6 @@ const sceneRT = new THREE.PMREMGenerator( renderer ).fromScene( scene ); - scene.background = null; - scene.backgroundNode = null; //