Hi I need to know, the exact procedure to do the SuperSampling and DownSampling with DefaultRenderingPipeline . I need to do the supersampling while the user leave control . and Again I need to downsample when the user rotate the camera.
Any postprocess has a size associated with it. So you can simply pick the first postprocess of the DRP and set its scale to 0.5 (down sampling) or 2.0 (super sampling)
var postProcess = new BABYLON.PassPostProcess("down sampling", BABYLON.ConvolutionPostProcess.EmbossKernel, 0.5, camera);
Thank you so much for your reply @Deltakosh . So, if this one line can fix my issue, then why three lines of the same kind of codes are used here https://www.babylonjs-playground.com/#2L35ZN#3 . See the lines 42,43,44
I am trying to do the same you suggested @Deltakosh . But I am getting error. I reproduced the same in the PG also. https://playground.babylonjs.com/#Y3C0HQ#537 See line 136. And See what is the error I am getting.
Sorry, I missed to see that. I just copy and paste what you give in your previous reply. In that, what is that second parameter you gave @Deltakosh
yes sorry I did not check my code, it was more an abstract code ;D
Okay but what is that ?
It provides this effect:
Image Kernels explained visually(similar%20to,kernel%20leaves%20the%20image%20unchanged.
this is a property of the ConvolutionPostProcess