Просмотр исходного кода

WebGPU: Turn off antialiasing in compat mode. (#32902)

Greggman 3 недель назад
Родитель
Сommit
0a17afda92
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      src/renderers/webgpu/WebGPUBackend.js

+ 6 - 0
src/renderers/webgpu/WebGPUBackend.js

@@ -218,6 +218,12 @@ class WebGPUBackend extends Backend {
 
 		this.compatibilityMode = ! device.features.has( 'core-features-and-limits' );
 
+		if ( this.compatibilityMode ) {
+
+			renderer._samples = 0;
+
+		}
+
 		device.lost.then( ( info ) => {
 
 			if ( info.reason === 'destroyed' ) return;

粤ICP备19079148号