Setting transparency in custom shader material does not work well

The transparency setting of custom shader material is not working well. Is there any better solution?

Can you reproduce in playground?

The shader is very simple, it just draws the cloud image by picking up the color through texture2D

Please repro in the PG so we can check

Hello, this is the PG code. Please help me check it. Now there is another problem that the PG effect is not transparent even with almost the same code.:sweat_smile:
Simple vertex shader | Babylon.js Playground

It is transparent: https://playground.babylonjs.com/#1OH09K#2891 :slight_smile:

Thanks for checking. I found the strange transparent effect when material.backFaceCulling = false :smiling_face_with_tear: