diff --git a/manual/en/backgrounds.html b/manual/en/backgrounds.html index 5dbbcc34f49386..da1eb87d2983f7 100644 --- a/manual/en/backgrounds.html +++ b/manual/en/backgrounds.html @@ -73,6 +73,7 @@
const loader = new THREE.TextureLoader(); const bgTexture = loader.load('resources/images/daikanyama.jpg'); +bgTexture.colorSpace = THREE.SRGBColorSpace; scene.background = bgTexture;
which gives us
@@ -219,11 +220,6 @@It's not much different. First we load the equirectangular image as a texture
-and then, in the callback after it has loaded, we can call WebGLCubeRenderTarget.fromEquirectangularTexture
-which will generate a cubemap from the equirectangular texture for us.
-We pass in the size we want the cubemap to be to WebGLCubeRenderTarget
.
-Passing in the height of the equirectangular image seems like a good bet.
{ - const loader = new THREE.CubeTextureLoader(); - const texture = loader.load([ @@ -239,9 +235,9 @@diff --git a/manual/en/custom-buffergeometry.html b/manual/en/custom-buffergeometry.html index b2db696c9f59c2..98e98d162fbb3d 100644 --- a/manual/en/custom-buffergeometry.html +++ b/manual/en/custom-buffergeometry.html @@ -436,8 +436,7 @@Backgrounds and Skyboxes
+ const texture = loader.load( + 'resources/images/equirectangularmaps/tears_of_steel_bridge_2k.jpg', + () => { -+ const rt = new THREE.WebGLCubeRenderTarget(texture.image.height); -+ rt.fromEquirectangularTexture(renderer, texture); -+ scene.background = rt.texture; ++ texture.mapping = THREE.EquirectangularReflectionMapping; ++ texture.colorSpace = THREE.SRGBColorSpace; ++ scene.background = texture; + }); }
BufferAttribute
.
-
+
diff --git a/manual/en/fundamentals.html b/manual/en/fundamentals.html
index 749d1530c9021d..7f02afad43d3b2 100644
--- a/manual/en/fundamentals.html
+++ b/manual/en/fundamentals.html
@@ -273,7 +273,7 @@ { const color = 0xFFFFFF; - const intensity = 1; + const intensity = 3; const light = new THREE.DirectionalLight(color, intensity); light.position.set(-1, 2, 4); scene.add(light); diff --git a/manual/examples/3dlut-base-cube-maker.html b/manual/examples/3dlut-base-cube-maker.html index f3aecd6438c771..5137a7b8c88948 100644 --- a/manual/examples/3dlut-base-cube-maker.html +++ b/manual/examples/3dlut-base-cube-maker.html @@ -26,63 +26,88 @@Color Cube Image Maker