trevordev

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!

defaultrenderingpipeline.jpg

Share this post


Link to post
Share on other sites

Hi,

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" :
https://www.babylonjs-playground.com/#1YAIO7#33
=> reflection is fine
Same playground with HDR set to "true":
https://www.babylonjs-playground.com/#1YAIO7#34
=>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 https://github.com/BabylonJS/Babylon.js/issues/4060 to track this issue.

Thanks for the feedback.

This playground should fix your issue after the next build is released. http://playground.babylonjs.com/#1YAIO7#35

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.