ImageProcessingPostProcess and several cameras

Hi fellows,

Is there a way to switch an ImageProcessingPostProcess from one camera to another?
I would like to keep the same ImageProcessingPostProcess as I often change the scene camera type depending on my needs but I didn’t find anything which allows us to reuse ImageProcessingPostProcess in the documentation: ImageProcessingPostProcess - Babylon.js Documentation

Thanks, Pichou

I have found this playground which set ON/OFF the depth of field on a camera: https://www.babylonjs-playground.com/#63QN3J#0

But it doesn’t seem to work with image processing: https://www.babylonjs-playground.com/#63QN3J#1

The solution was to use DefaultRenderingPipeline!

https://www.babylonjs-playground.com/#63QN3J#2

I guess this topic will help the next one searching to play with post processing and pipelines! :wink:

1 Like

Good catch :slight_smile: I love self answering topics