Hi all,
I am using defaultrenderingpipeline using below lines of script
var defaultPipeline = new BABYLON.DefaultRenderingPipeline(
'default',
true,
scene,
[camera]
);
Then I enable fxaa using below code
defaultPipeline.fxaaEnabled = true;
And I am using msaa on event basis using below code
camera.onViewMatrixChangedObservable.add(() => {
defaultPipeline.samples = 1;
});
scene.onBeforeRenderObservable.add(() => {
defaultPipeline.samples =4;
});
Using these AA methods, the scene is partially antialiased. But still there are some aliasing effects. Any other tips to get rid-off it.