# Post-Processing not works right in a scene with two cameres

**URL:** <https://forum.babylonjs.com/t/post-processing-not-works-right-in-a-scene-with-two-cameres/47335>\
**Category:** Questions\
**Tags:** camera\
**Created:** [January 19, 2024, 3:33am UTC](https://forum.babylonjs.com/t/post-processing-not-works-right-in-a-scene-with-two-cameres/47335 "2024-01-19T03:33:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoeyKo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joeyko/32/38115_2.png) [@JoeyKo](https://forum.babylonjs.com/u/JoeyKo)\
**Post date:** [January 19, 2024, 3:33am UTC](https://forum.babylonjs.com/t/post-processing-not-works-right-in-a-scene-with-two-cameres/47335/1 "2024-01-19T03:33:27Z")

</div>

Hello Babylon community

I create the background layer with one camera, and make it not affected by the post processing.

And then create a second camera to apply post processing of bloom. But it seems not works.

 ![1705635166259](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/7/f7eb6269d48472a141efc082dc18a800c6d7694b.jpeg)

> **[Babylon.js Playground](https://www.babylonjs-playground.com/#08A2BS%23348)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [January 19, 2024, 5:43am UTC](https://forum.babylonjs.com/t/post-processing-not-works-right-in-a-scene-with-two-cameres/47335/2 "2024-01-19T05:43:51Z")

</div>

Hi,  
I think this topic might be of interest to you:

> [@Adding a background image that is not affected by the Default Rendering Pipeline post processes](https://forum.babylonjs.com/t/adding-a-background-image-that-is-not-affected-by-the-default-rendering-pipeline-post-processes/34494/3):
>
> You can do it as you did with two cameras but by blending the last post process of the pipeline with the current framebuffer (which contains the layer image at that point) instead of simply replacing the framebuffer with the result of the pipeline (which is the default behaviour). Here’s a PG that is doing that: You need to set a scene clear color with alpha=0 for it to work as expected.

Else, let us know and meanwhile, have a great day 🕶

---

<div class="post-metadata">

**Author:** ![JoeyKo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joeyko/32/38115_2.png) [@JoeyKo](https://forum.babylonjs.com/u/JoeyKo)\
**Post date:** [January 19, 2024, 5:54am UTC](https://forum.babylonjs.com/t/post-processing-not-works-right-in-a-scene-with-two-cameres/47335/3 "2024-01-19T05:54:22Z")

</div>

Thx for your reply, I saw the PG example before, and asked a question about the vignette not full viewport in this mode.

> [@Adding a background image that is not affected by the Default Rendering Pipeline post processes](https://forum.babylonjs.com/t/adding-a-background-image-that-is-not-affected-by-the-default-rendering-pipeline-post-processes/34494/12):
>
> Vignette effect is not working for the whole camera view.

Is there any way to make the vignette full viewport, something like the sketchfab:

 ![1705643858871](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/b/fb53c2e103df4117cb006b71826856904a239185.jpeg)

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [January 19, 2024, 11:28am UTC](https://forum.babylonjs.com/t/post-processing-not-works-right-in-a-scene-with-two-cameres/47335/4 "2024-01-19T11:28:09Z")

</div>

In fact, vignette is applied, but it’s not clearly visible because of the settings:

> **[Babylon.js Playground](https://playground.babylonjs.com/#08A2BS%23349)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes
