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

**URL:** https://discourse.glfw.org/t/the-picture-will-show-through-everything-without-noticing-the-render-in-front-of-it/2485
**Category:** support
**Created:** [November 10, 2023, 9:39am UTC](https://discourse.glfw.org/t/the-picture-will-show-through-everything-without-noticing-the-render-in-front-of-it/2485 "2023-11-10T09:39:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![aimsiBTW](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/aimsibtw/32/824_2.png) [@aimsiBTW](https://discourse.glfw.org/u/aimsiBTW)
#### Post date: [November 10, 2023, 9:39am UTC](https://discourse.glfw.org/t/the-picture-will-show-through-everything-without-noticing-the-render-in-front-of-it/2485/1 "2023-11-10T09:39:52Z")

</div>

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

 ![image-4](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b67f207b49a95d6037371035dda8cd9add80c452.png)  
 ![image-3](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/cc7d7570ec34ae1575ba6ba296c039b89adadc57.png)

---

<div class="post-metadata">

### Author: ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)
#### Post date: [November 11, 2023, 10:51am UTC](https://discourse.glfw.org/t/the-picture-will-show-through-everything-without-noticing-the-render-in-front-of-it/2485/2 "2023-11-11T10:51:17Z")

</div>

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).
