Is this an expected transparency issue?

Hi everyone,

Please have a look at this:


In the screenshot, the top of the tower (horizontal logs) is one mesh**. In the entire scene, there is not a single alpha value below 1. The moment I set “transparency mode” to “Alpha blend”, the rendering glitches, as outlined above, occur.

Is this expected?

  • Is it that merely setting the transprency mode to blend, that I will have to expect transparency glitches irrespective of actual transparency (i.e. all meshes alpha == 1.0)?
  • And these glitches can very well occur within a single mesh? (This is it what throws me off. I understand that sorting multiple meshes can be problematic. But a single mesh?)

FYI, this is question is about better understanding transparency. I know how to avoid the issue :grinning_face:

Best wishes
Joe

Yup it is kind of expected as we are rendering mesh by sorting them back to front and this sometimes fail.

Here is a nice doc on how everything transparent works Babylon.js docs

1 Like