Jump to content

New depth pre pass rendering


GameMonetize
 Share

Recommended Posts

Hey team!! To help fighting alpha sorting issue, we've just introduced support for depth pre pass rendering.

The overall idea is to render depth value first to fight against self mesh sorting issues.

Here what it looks like when facing the issue: https://www.babylonjs-playground.com/#1PLV5Z#1

And here is the fix with the pre pass rendering: https://www.babylonjs-playground.com/#1PLV5Z#16

 

Documentation: http://doc.babylonjs.com/tutorials/transparency_and_how_meshes_are_rendered#depth-pre-pass-meshes 

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...