Jump to content

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


trevordev
 Share

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

Link to comment
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 ?

Link to comment
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...