Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Qt 3D] Transparency
guy incognito last edited by guy incognito
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?