Default Pipeline [Depth of field, bloom, grain, chromatic aberration, MSAA]

Recommended Posts

The default pipeline has been updated to add Depth of field, Grain, Chromatic aberration and MSAA post processing. The existing bloom effect has also been updated to only bloom the bright highlights instead of blurring the entire image.

See the updated demo and docs. Please let me know if you have any feedback. Thanks!


Share this post

Link to post
Share on other sites


This pipeline is great ! Thank you for sharing !!!

I've noticed a strange behavior when using default pipeline with HDR set to "true" and a mirrorTexture :

Here's a playground with a mirror and HDR set to "false" :
=> reflection is fine
Same playground with HDR set to "true":
=>lighting in the reflection is different (darker)

Is this the normal behavior ?

Share this post

Link to post
Share on other sites

This is not expected, the output when HDR is set should not have the dark reflection. I created to track this issue.

Thanks for the feedback.

This playground should fix your issue after the next build is released.

Note the line:

mirrorMaterial.reflectionTexture = new BABYLON.MirrorTexture("mirror", 1024, scene, true, BABYLON.Engine.TEXTURETYPE_HALF_FLOAT);

which is needed to set a higher precision texture type to match that of the HDR textures used in the post process to avoid banding/artifacts

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.