# Toggle ImageProcessingPostProcess

**URL:** <https://forum.babylonjs.com/t/toggle-imageprocessingpostprocess/15826>\
**Category:** Questions\
**Created:** [November 19, 2020, 4:14am UTC](https://forum.babylonjs.com/t/toggle-imageprocessingpostprocess/15826 "2020-11-19T04:14:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Shannon](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tim_shannon/32/10276_2.png) [@Tim\_Shannon](https://forum.babylonjs.com/u/Tim_Shannon)\
**Post date:** [November 19, 2020, 4:14am UTC](https://forum.babylonjs.com/t/toggle-imageprocessingpostprocess/15826/1 "2020-11-19T04:14:24Z")

</div>

I’m trying to toggle the vingette post process on and off, but even when the post process is detached, there appears to be left over effects on the screen.

Take a look at this:

[https://playground.babylonjs.com/#J9H084#166](https://playground.babylonjs.com/#J9H084#166)

Try uncommenting the post processing code.

A scene with no postprocessing added looks different than one that has the post process added, and detached.

Is there a better way to toggle the post processing off completely?

---

<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:** [November 19, 2020, 10:37am UTC](https://forum.babylonjs.com/t/toggle-imageprocessingpostprocess/15826/2 "2020-11-19T10:37:45Z")

</div>

When you create an image processing post process it stays enabled (at least for the linear/gamma conversion performed in the end) for the scene even if not attached to a camera. You need to call this to disable it:

```javascript
postProcess.imageProcessingConfiguration.isEnabled = false;

```

---

<div class="post-metadata">

**Author:** ![Tim\_Shannon](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tim_shannon/32/10276_2.png) [@Tim\_Shannon](https://forum.babylonjs.com/u/Tim_Shannon)\
**Post date:** [November 19, 2020, 1:51pm UTC](https://forum.babylonjs.com/t/toggle-imageprocessingpostprocess/15826/3 "2020-11-19T13:51:30Z")

</div>

> [@Evgeni\_Popov](#):
>
> `.imageProcessingConfiguration.isEnabled = false;`

That did it. Much appreciated.
