From 2d71e8bac1941a098470d795dfc4442736502e97 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Wed, 15 Apr 2015 22:03:10 +0200 Subject: [PATCH] Improved lens flare example. --- examples/webgl_lensflares.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/examples/webgl_lensflares.html b/examples/webgl_lensflares.html index 94a346c2b7..c013511039 100644 --- a/examples/webgl_lensflares.html +++ b/examples/webgl_lensflares.html @@ -116,12 +116,7 @@ // lights - var ambient = new THREE.AmbientLight( 0xffffff ); - ambient.color.setHSL( 0.1, 0.3, 0.2 ); - scene.add( ambient ); - - - var dirLight = new THREE.DirectionalLight( 0xffffff, 0.125 ); + var dirLight = new THREE.DirectionalLight( 0xffffff, 0.05 ); dirLight.position.set( 0, -1, 0 ).normalize(); scene.add( dirLight ); @@ -139,7 +134,7 @@ function addLight( h, s, l, x, y, z ) { - var light = new THREE.PointLight( 0xffffff, 1.5, 4500 ); + var light = new THREE.PointLight( 0xffffff, 1.5, 2000 ); light.color.setHSL( h, s, l ); light.position.set( x, y, z ); scene.add( light ); -- GitLab