this.renderScene = new RenderPass( this.scene, this.camera ); this.params = { exposure: 0.5, bloomStrength: 2, bloomThreshold: 0, bloomRadius: 0, scene: 'Scene with Glow', }, ////////////////////////////////////////// this.bloomPass = new UnrealBloomPass ( new THREE.Vector2( window.innerWidth, window.innerHeight ), 0, //bloomStrength 0, //bloomThreshold 0 //bloomRadius ); this.bloomPass.strength = this.params.bloomStrength; this.bloomPass.threshold = this.params.bloomThreshold; this.bloomPass.radius = this.params.bloomRadius; // this.bloomPass.exposure = this.params.exposure; this.bloomComposer = new EffectComposer( this.renderer ); this.bloomComposer.addPass( this.renderScene ); this.bloomComposer.addPass( this.bloomPass )