Alpha Blending Issue After Upgrading from BabylonJS 7.37.0 to 7.50.0

Hi everyone,

I’ve recently upgraded my project from BabylonJS 7.37.0 to 7.50.0 and I’m running into an issue with alpha blending that has me puzzled. Sorry if I’m missing something obvious here!

I’m using the exact same car model with identical PBRMaterial settings in both versions, but the rendering results are quite different. In the older version (7.37.0), everything looked great, but after upgrading to 7.50.0, I’m getting these strange dark bands/artifacts across the car body.

I’ve attached two screenshots to show what I mean:

  1. First image: The car rendering correctly in v7.37.0

  2. Second image: The same car with problematic rendering in v7.50.0

I’ve found that setting the transparency mode to “opaque” in the newer version fixes the issue, but I actually need alpha blending for my project.

Has something changed in how alpha blending works between these versions? Are there any new parameters I need to adjust or best practices I should follow in v7.50.0?

Thanks in advance for any help or suggestions! I really appreciate your time. :heart:

It’s probably this change:

However, it looks like you already set the transparency mode…

If possible, can you share the model file (by PM if you don’t want to make it public)?

Hey, thanks so much for the quick reply!

That info about the transparency changes in 7.47.3 is super helpful. I think we’ve found our culprit! :heart:

About the model file - I’m happy to send it but I want to let you know that, we’re processing these models in a pretty custom way. We break down the GLBs into separate components (meshes, materials, textures, etc.) before they’re rendered, so what you’d see in the raw file might not reflect exactly how our system is handling it. :sad_but_relieved_face:

For now, my team has decided to stick with 7.37.0 since everything works well there, and changing how we handle transparency would require some significant adjustments to our pipeline. We’ll definitely tackle this properly when we do our next major update.

Really appreciate your help with this! It’s great to understand what’s actually happening rather than just being stuck with a mystery. :smiley::+1:

2 Likes