1
General / SFML Color bug for transparent windows with nvidia gpu
« on: May 14, 2021, 11:25:33 am »
Hello,
3 years ago i posted a question how to make the window background transparent.
link: https://en.sfml-dev.org/forums/index.php?topic=24697.msg165592#msg165592
The user "texus" hacked some code in the SFML source to work around.
This works fine on Intel GPUs, but on Nvidia GPUs it seems that everything (colors, textures, etc) is drawing with an alpha channel and looks semi transparent
Is there a way to fix this?
I'm not familiar with the xlib API but it i think it can be a problem in the nvidia driver.
My 2 question is how other libs like qt or gtk do this?
And why is there not the possibility to create transparent windows in SFML?
3 years ago i posted a question how to make the window background transparent.
link: https://en.sfml-dev.org/forums/index.php?topic=24697.msg165592#msg165592
The user "texus" hacked some code in the SFML source to work around.
This works fine on Intel GPUs, but on Nvidia GPUs it seems that everything (colors, textures, etc) is drawing with an alpha channel and looks semi transparent
Is there a way to fix this?
I'm not familiar with the xlib API but it i think it can be a problem in the nvidia driver.
My 2 question is how other libs like qt or gtk do this?
And why is there not the possibility to create transparent windows in SFML?