فهرست منبع

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

Greggman 3 هفته پیش
والد
کامیت
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' );
 		this.compatibilityMode = ! device.features.has( 'core-features-and-limits' );
 
 
+		if ( this.compatibilityMode ) {
+
+			renderer._samples = 0;
+
+		}
+
 		device.lost.then( ( info ) => {
 		device.lost.then( ( info ) => {
 
 
 			if ( info.reason === 'destroyed' ) return;
 			if ( info.reason === 'destroyed' ) return;

粤ICP备19079148号