I want to use vignette
only, but ImageProcessingPostProcess
will enable other common post-processing effects. Is it possible to only keep the vignette
effect?
DefaultRenderingPipeline
https://playground.babylonjs.com/#08A2BS#112
ImageProcessingPostProcess
https://playground.babylonjs.com/#J9H084#226
Idea 1
Is it possible to create a post-process only contain vignette
?
Related question: How to use vignette on a texture?
Idea 2
I check the ImageProcessingPostProcess
constructor, I wonder what is the default processing configuration
and how to remove it?
@ Evgeni_Popov @ Pryme8
Hello hello.
I looked over our DefaultRenderingPipeline documentation here and I found some stuff that I think can be helpful: Using the Default Rendering Pipeline | Babylon.js Documentation
It looks like you can customize it and have the anti-aliasing off using pipeline.fxaaEnabled = false;
https://playground.babylonjs.com/#08A2BS#108
Is this what you had in mind?
1 Like
Yeah, it will disable anti-aliasing;
There are many post-processing effects, I wonder how to disable them all but only keep vignette
https://playground.babylonjs.com/#08A2BS#110
sebavan
4
Your playground does exactly this as by default every effect is disabled.
If I comment line 15 to line 21, the background colour will change; any luck how this happens
https://playground.babylonjs.com/#08A2BS#110
musk
6
You just need set hdr to false
var pipeline = new BABYLON.DefaultRenderingPipeline(
“pipeline”,
false,
scene,
scene.cameras
);
2 Likes
Bro, thank you so much!!!
I wasn’t expecting this problem is that simple!!