From fa5da939ac7a7deb9df4e4cca2e450177bd7aa6b Mon Sep 17 00:00:00 2001
From: Meir Arani Scene Graph
represents light that emanates from a single point.
{ const color = 0xFFFFFF; - const intensity = 3; + const intensity = 500; const light = new THREE.PointLight(color, intensity); scene.add(light); } diff --git a/manual/examples/scenegraph-sun-earth-moon-axes-grids.html b/manual/examples/scenegraph-sun-earth-moon-axes-grids.html index d4519a74bbe504..bdcfb5efe630f4 100644 --- a/manual/examples/scenegraph-sun-earth-moon-axes-grids.html +++ b/manual/examples/scenegraph-sun-earth-moon-axes-grids.html @@ -79,7 +79,7 @@ { const color = 0xFFFFFF; - const intensity = 3; + const intensity = 500; const light = new THREE.PointLight( color, intensity ); scene.add( light ); diff --git a/manual/fr/scenegraph.html b/manual/fr/scenegraph.html index 874dc91ab51884..3f169c54201ebb 100644 --- a/manual/fr/scenegraph.html +++ b/manual/fr/scenegraph.html @@ -89,7 +89,7 @@Graphe de scène
représente la lumière qui émane d'un point unique.{ const color = 0xFFFFFF; - const intensity = 3; + const intensity = 500; const light = new THREE.PointLight(color, intensity); scene.add(light); } diff --git a/manual/ja/scenegraph.html b/manual/ja/scenegraph.html index bee219a454e68d..e5ca1faedc0a56 100644 --- a/manual/ja/scenegraph.html +++ b/manual/ja/scenegraph.html @@ -80,7 +80,7 @@のシーングラフ
一点から発せられる明かりというのが、とりあえずの簡単な説明です。{ const color = 0xFFFFFF; - const intensity = 3; + const intensity = 500; const light = new THREE.PointLight(color, intensity); scene.add(light); } diff --git a/manual/ko/scenegraph.html b/manual/ko/scenegraph.html index b02943d247e15f..6551684e7be40d 100644 --- a/manual/ko/scenegraph.html +++ b/manual/ko/scenegraph.html @@ -89,7 +89,7 @@씬 그래프(Scene graph)
정도로 알아둡시다.{ const color = 0xFFFFFF; - const intensity = 3; + const intensity = 500; const light = new THREE.PointLight(color, intensity); scene.add(light); } diff --git a/manual/ru/scenegraph.html b/manual/ru/scenegraph.html index 25e43442801576..4941572c1db71c 100644 --- a/manual/ru/scenegraph.html +++ b/manual/ru/scenegraph.html @@ -89,7 +89,7 @@Граф сцены
представляет собой точечный источник света.{ const color = 0xFFFFFF; - const intensity = 3; + const intensity = 500; const light = new THREE.PointLight(color, intensity); scene.add(light); } diff --git a/manual/zh/scenegraph.html b/manual/zh/scenegraph.html index 92df55a1b03e51..fb4acdec9c5f05 100644 --- a/manual/zh/scenegraph.html +++ b/manual/zh/scenegraph.html @@ -66,7 +66,7 @@场景图
我们也在场景的中心放置了一个点光源(point light)。稍后我们会介绍更多关于点光源的细节,但现在简单地说,点光源代表从一个点向各个方向发射的光源。
{ const color = 0xffffff; - const intensity = 3; + const intensity = 500; const light = new THREE.PointLight(color, intensity); scene.add(light); } From 1c78abf303de8356e94faf7bc81e987c9bf353f8 Mon Sep 17 00:00:00 2001 From: Michael HerzogDate: Fri, 20 Jun 2025 12:27:41 +0200 Subject: [PATCH 2/2] WebGLPrograms: Fix cache key with gradient maps. (#31292) --- src/renderers/webgl/WebGLPrograms.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderers/webgl/WebGLPrograms.js b/src/renderers/webgl/WebGLPrograms.js index 4fb67fa91c5a02..7cfb95d8dad636 100644 --- a/src/renderers/webgl/WebGLPrograms.js +++ b/src/renderers/webgl/WebGLPrograms.js @@ -515,6 +515,8 @@ function WebGLPrograms( renderer, cubemaps, cubeuvmaps, extensions, capabilities _programLayers.enable( 20 ); if ( parameters.batchingColor ) _programLayers.enable( 21 ); + if ( parameters.gradientMap ) + _programLayers.enable( 22 ); array.push( _programLayers.mask ); _programLayers.disableAll();