Selaa lähdekoodia

Examples: Fix broken GPU picking demo. (#25952)

* Examples: Fix broken GPU picking demo.

* Examples: Clean up.
Michael Herzog 2 vuotta sitten
vanhempi
commit
bbd1fdadee
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      examples/webgl_interactive_cubes_gpu.html

+ 1 - 1
examples/webgl_interactive_cubes_gpu.html

@@ -136,7 +136,7 @@
 
 
 					// give the geometry's vertices a color corresponding to the "id"
 					// give the geometry's vertices a color corresponding to the "id"
 
 
-					applyVertexColors( geometry, color.setHex( i ) );
+					applyVertexColors( geometry, color.setHex( i, THREE.NoColorSpace ) );
 
 
 					geometriesPicking.push( geometry );
 					geometriesPicking.push( geometry );