Răsfoiți Sursa

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

sunag 7 luni în urmă
părinte
comite
ee7fd45703
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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号