# Three.js postprocessing without affecting scene background

**URL:** https://discourse.threejs.org/t/three-js-postprocessing-without-affecting-scene-background/54751
**Category:** Questions
**Tags:** post-processing
**Created:** [August 7, 2023, 9:02pm UTC](https://discourse.threejs.org/t/three-js-postprocessing-without-affecting-scene-background/54751 "2023-08-07T21:02:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![evanmcarlson](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/evanmcarlson/32/38851_2.png) [@evanmcarlson](https://discourse.threejs.org/u/evanmcarlson)
#### Post date: [August 7, 2023, 9:02pm UTC](https://discourse.threejs.org/t/three-js-postprocessing-without-affecting-scene-background/54751/1 "2023-08-07T21:02:21Z")

</div>

I feel like I’m overthinking this.

How can I apply postprocessing effects to my three.js scene without affecting the scene background texture?

For context, I am building a WebAR experience with 8th Wall. I can render the camera texture behind the three.js scene by setting `scene.background = camTexture` but when I use `composer.render()` instead of `renderer.render()`, the postprocessing effects are applied to both the three.js scene and to the scene background. I just want to apply the effects to three.js scene and leave the scene background as-is.

Btw, I don’t even _need_ to set `scene.background = camTexture` unless I am using `EffectComposer()`. By default the three.js scene has a transparent background and the `cameraTexture` is rendered behind the three.js scene. But the minute I use `EffectComposer`, it shows a solid white background instead of staying transparent, which is why I set `scene.background = camTexture`.

I would greatly appreciate any suggestions!

---

<div class="post-metadata">

### Author: ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)
#### Post date: [August 8, 2023, 9:28am UTC](https://discourse.threejs.org/t/three-js-postprocessing-without-affecting-scene-background/54751/2 "2023-08-08T09:28:23Z")

</div>

> [@evanmcarlson](#):
>
> Btw, I don’t even _need_ to set `scene.background = camTexture` unless I am using `EffectComposer()`. By default the three.js scene has a transparent background and the `cameraTexture` is rendered behind the three.js scene. But the minute I use `EffectComposer`, it shows a solid white background instead of staying transparent, which is why I set `scene.background = camTexture`.

Do you mind demonstrating with a small live example what goes wrong? Using `EffectComposer` with a transparent background should work in principle. It’s just important to use a clear alpha value of `0`.
