Jelajahi Sumber

WebGPUBackend: Cleanup

sunag 9 bulan lalu
induk
melakukan
5ebb122405
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/renderers/webgpu/WebGPUBackend.js

+ 1 - 1
src/renderers/webgpu/WebGPUBackend.js

@@ -255,7 +255,7 @@ class WebGPUBackend extends Backend {
 
 			const alphaMode = parameters.alpha ? 'premultiplied' : 'opaque';
 
-			const toneMappingMode = this.parameters.outputType === HalfFloatType ? 'extended' : 'standard';
+			const toneMappingMode = parameters.outputType === HalfFloatType ? 'extended' : 'standard';
 
 			context.configure( {
 				device: this.device,

粤ICP备19079148号