Texture Packs Other Packs

No Dark Inventory Overlay

  • 8.8k views 1 today
  • save_alt 1.6k downloads 1 today
Game Version
Minecraft 1.21
Resolution
16x
Progress
100% complete
Changes include
  • GUI
  • Misc
  • 30
  • 17
  • 12
SuperAnt_
Lvl 41Master Droid Professor
26

No dark background overlay from inventories and pause menu



This resource pack removes dark background overlay from all different type of inventories and pause menu.
Afaik I am the first one who made this without using any mods.


Versions: 1.17.1 1.21+
For the versions above 1.20.4 pause menu will not be affected because mojang changed the overlay to a different one, with blur, which you can remove in vanilla video settings.

Works with both Optifine and Sodium.


Note:

You can also customize transparency and color of the dark background overlay to whatever you want. To do that, open a file called rendertype_gui.vsh (if you are on versions 1.17.1 – 1.19.4, open the file position_color.vsh instead), go to line 18 and change the value of vertexColor.a to whatever you want. 0 is fully transparent (it is set by default), 1 is the opposite, 0.5 is 50% transparent. To change the color of the overlay, delete the whole line 18 and change it to vertexColor = vec4(0, 0, 0, 0);, and then change zeros to values you want. The first zero is for red, the second is for blue, the third is for green, and the fourth is for alpha aka transparency. You can pick a color and get corresponding values for it on this website.

More like this

  Have something to say?

Counterricoshot
06/27/2025 4:08 am
He/Him • Level 18 : Journeyman Crafter
Can I use this for my texture pack? (just the gui.vsh file) I found out a way to update it to 1.21.6
1
Spectrr3
09/06/2025 5:50 am
He/Him • Level 1 : New Explorer
how?
1
SuperAnt_
06/27/2025 5:44 am
Level 41 : Master Droid Professor
Sure
1
User4419483G
01/06/2025 6:16 pm
Level 1 : New Miner
hey, do you plan on updating it for 1.21.4 ?
1
SuperAnt_
01/29/2025 4:09 am
Level 41 : Master Droid Professor
Just updated it
1
12/20/2023 1:11 pm
This reply was removed by the poster or a moderator.
SuperAnt_
01/06/2024 5:15 pm
Level 41 : Master Droid Professor
It was just trying and trying, finding the right number by just trying. For example I make the condition "if (vertexColor.r > 0.5)", the overlay doesn't disappear, so I make "if (vertexColor.r > 0.3)", it still doesn't disappear, so I make "if (vertexColor.r > 0.1)", it still doesn't, so I do "if (vertexColor.r > 0.05)", and it DOES work, so I know now that the value is between 0.05 and 0.1, and I keep checking and checking and checking deeper and deeper until I get the right value. f3 overlay probably is just black with a certain alpha, so you should mainly check for that.
1
DMineShop
07/25/2023 8:51 pm
Level 29 : Expert Artist
history
Is it possible to somehow adjust the transparency of the darkening? I would like to leave a little blackout.
2
DMineShop
07/25/2023 9:11 pm
Level 29 : Expert Artist
It is clear now. If someone also wants to change the dimming level, here is a small instruction:
1. Open the file from the archive along this path assets/minecraft/shaders/core/rendertype_gui.vsh
2. We are looking for a line at the very bottom with the following content "vertexColor.a = 0"
3. Change the value "0" to whatever you want
"1" - the background will be completely black;
"0" - the background will be completely transparent;
4. You can set any numbers, for example, 0.5, 0.2367, 0.96, etc.
2
SuperAnt_
07/27/2023 9:16 am
Level 41 : Master Droid Professor
Also note, that for versions pre 1.20 you need to do the same thing in another file – position_color.vsh.



You can also change the color of the background by changing values of vertexColor.r, vertexColor.g and vertexColor.b for red, green, and blue.
2

Welcome