(Bug)
CREEPERBOY585 opened this issue · 3 comments
This is likely due to Optifine, which breaks loads of rendering stuff in mods, there's been many other compatibility issues with NTM's effects in the past, so this likely stems from that. Your best bet is to either drop the shaders, or roll with the visual glitches.
This is NOT an optifine error, this is a SHADER error, which is actually very easy to fix. It is enough to replace tessellator.addVertex
with tessellator.addVertexWithUV
in the RenderPylonBase.java
, and add 0, 1 (UV) at the end. I will also say that this method can fix ALL rendering errors in this mod.
However, in some places you need to add a “dummy” texture (I just use a white background)
Here's how it works:
Shaders have this habit of breaking any solid colored faces when GL_TEXTURE_2D
is disabled. Using a dummy texture is not so much a fix as it is a workaround, since shaders aren't supposed to break solid colored faces to begin with. There's plenty of times where that approach is used in vanilla (ender dragon flares, hurt mobs, flashing TNT, etc), so really it's shaders that are supposed to fix the issue.