林炳权 1 год назад
Родитель
Сommit
14b61427e4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      examples/webgl_texture3d_partialupdate.html

+ 1 - 1
examples/webgl_texture3d_partialupdate.html

@@ -343,7 +343,7 @@
 					const scaleFactor = ( Math.random() + 0.5 ) * 0.5;
 					const source = generateCloudTexture( perElementPaddedSize, scaleFactor );
 
-					renderer.copyTextureToTexture3D( source, cloudTexture, box, position );
+					renderer.copyTextureToTexture( source, cloudTexture, box, position );
 
 					prevTime = time;
 

粤ICP备19079148号