I'm trying to create a large scale fog effect by layering blocks of glass with a layer of air in between each layer of glass, but in doing so I have encountered a strange render glitch. (Examples attached below). Some layers of glass appear to not render in properly in a square shape. Upon reloading the world, the glass fully renders back in, but when I go to the other side of the glass wall, or if I move around enough, the glitch will continue to occur. The glitch also occurs if I do not have any mods or resource packs loaded.
Optifine is not supported here, it's considered modded