Browse Source

WebGPURenderer: Fix .flipY example

sunag 1 year ago
parent
commit
379038f6d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/renderers/webgpu/utils/WebGPUTextureUtils.js

+ 1 - 1
examples/jsm/renderers/webgpu/utils/WebGPUTextureUtils.js

@@ -239,7 +239,7 @@ class WebGPUTextureUtils {
 
 		if ( texture.isDataTexture || texture.isDataArrayTexture || texture.isData3DTexture ) {
 
-			this._copyBufferToTexture( options.image, textureData.texture, textureDescriptorGPU, 0, texture.flipY );
+			this._copyBufferToTexture( options.image, textureData.texture, textureDescriptorGPU, 0, false );
 
 		} else if ( texture.isCompressedTexture ) {