Jelajahi Sumber

SSAAPassNode: Ignoring `material.premultipliedAlpha` usage for now, related (#31166)

sunag 11 bulan lalu
induk
melakukan
ee7fd45703
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      examples/jsm/tsl/display/SSAAPassNode.js

+ 1 - 1
examples/jsm/tsl/display/SSAAPassNode.js

@@ -281,7 +281,7 @@ class SSAAPassNode extends PassNode {
 		this._quadMesh.material.transparent = true;
 		this._quadMesh.material.transparent = true;
 		this._quadMesh.material.depthTest = false;
 		this._quadMesh.material.depthTest = false;
 		this._quadMesh.material.depthWrite = false;
 		this._quadMesh.material.depthWrite = false;
-		this._quadMesh.material.premultipliedAlpha = true;
+		//this._quadMesh.material.premultipliedAlpha = true;
 		this._quadMesh.material.blending = AdditiveBlending;
 		this._quadMesh.material.blending = AdditiveBlending;
 		this._quadMesh.material.name = 'SSAA';
 		this._quadMesh.material.name = 'SSAA';
 
 

粤ICP备19079148号