Important: Please read the Qt Code of Conduct -

[Qt 3D] Transparency

  • Hi all,

    I'm using Qt3D with C++ and I'm trying to display a number on a QPlaneMesh with transparent background. I painted the number to a QPaintedTextureImage which is added to a QDiffuseMapMaterial. The background color of the TextureImage and the ambient + specular color of the material are set to Qt::transparent, but depending on the angle of the PlaneEntity, the background of the entity is darker or lighter than the background of the scene. It seems like it's influenced by the lighting.
    Does anyone have an idea how to fix this?

Log in to reply