ソースを参照

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

* Examples: Fix broken GPU picking demo.

* Examples: Clean up.
Michael Herzog 2 年 前
コミット
bbd1fdadee
1 ファイル変更1 行追加1 行削除
  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"
 
-					applyVertexColors( geometry, color.setHex( i ) );
+					applyVertexColors( geometry, color.setHex( i, THREE.NoColorSpace ) );
 
 					geometriesPicking.push( geometry );
 

粤ICP备19079148号