The picture will show through everything without noticing the render in front of it

I use to hide the background (black square) glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, GLFW_TRUE);
I’m using roundedReact to specify the size of the window, I want to render a picture on top, but the picture shows everything through without noticing the square

Hi @aimsiBTW and welcome to the GLFW forum.

I’m not quite sure what you are trying to do, but perhaps the texture you are drawing has alpha values which are not 1.0?

You could disable alpha blending before you draw the texture to fix this, or remove alpha from the texture (or set it to 1.0).