Sfoglia il codice sorgente

Turned on sorting in lights stress test.

This is now faster - losses by sorting are smaller than gains by rendering less pixels.
alteredq 14 anni fa
parent
commit
8396336330
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      examples/webgl_lights_pointlights2.html

+ 1 - 1
examples/webgl_lights_pointlights2.html

@@ -226,7 +226,7 @@
 				renderer.gammaOutput = true;
 				renderer.physicallyBasedShading = true;
 
-				renderer.sortObjects = false;
+				renderer.sortObjects = true;
 
 				// STATS
 

粤ICP备19079148号