Skip to content

Commit

Permalink
fix: Make the render background get the correct Alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaocaho committed May 22, 2024
1 parent 1164bf1 commit 9942fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/postprocessing/RenderPass.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class RenderPass extends Pass {
if ( this.clearColor !== null ) {

renderer.getClearColor( this._oldClearColor );
renderer.setClearColor( this.clearColor );
renderer.setClearColor( this.clearColor, renderer.getClearAlpha() );

}

Expand Down

0 comments on commit 9942fb9

Please sign in to comment.