How to set opacity in Canvas3d



  • Hello everyone,

    I'm making an application where i use a canvas3d. I'm looking for making the canvas3d background transparent in my application. I'm not an opengl expert.

    Thank you in advance.



  • Unfortunately this is not possible in Qt 5.5, as the alpha values are ignored. This will be fixed to Qt 5.6, though, where you can make the Canvas3D background fully transparent for example by specifying gl.clearColor(0, 0, 0, 0).


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.