Browse Source

Betteer yet, 50 lights.

Mr.doob 12 years ago
parent
commit
5b2ff93f2e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/webgl_lights_deferred_pointlights.html

+ 2 - 2
examples/webgl_lights_deferred_pointlights.html

@@ -92,7 +92,7 @@
 
 
 			var matNormal, matClipDepth, matBasic, matUnlit;
 			var matNormal, matClipDepth, matBasic, matUnlit;
 
 
-			var numLights = 20;
+			var numLights = 50;
 			var lights = new Array();
 			var lights = new Array();
 
 
 			// -----------------------
 			// -----------------------
@@ -581,7 +581,7 @@
 
 
 			function initLights() {
 			function initLights() {
 
 
-				var distance = 50;
+				var distance = 25;
 
 
 				for ( var i = 0; i < numLights; i ++ ) {
 				for ( var i = 0; i < numLights; i ++ ) {