diff --git a/examples/jsm/postprocessing/RenderPass.js b/examples/jsm/postprocessing/RenderPass.js index a6c3804ec67b90..c60e92d333501e 100644 --- a/examples/jsm/postprocessing/RenderPass.js +++ b/examples/jsm/postprocessing/RenderPass.js @@ -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() ); }