ponder particles, pog

This commit is contained in:
zelophed 2021-03-27 16:33:23 +01:00
parent c9ba76a2d1
commit a5a9ea1b7f

View File

@ -70,8 +70,9 @@ public class PonderWorldParticles {
RenderSystem.enableDepthTest();
RenderSystem.enableFog();
};
ms.push();
ms.peek().getModel().multiply(ms.peek().getModel());
RenderSystem.pushMatrix();
RenderSystem.multMatrix(ms.peek().getModel());
//check ParticleManager#renderParticles for a replacement if RenderSystem#multMatrix gets removed
for (IParticleRenderType iparticlerendertype : this.byType.keySet()) { // Forge: allow custom
// IParticleRenderType's
@ -92,7 +93,7 @@ public class PonderWorldParticles {
}
}
ms.pop();
RenderSystem.popMatrix();
RenderSystem.depthMask(true);
RenderSystem.disableBlend();
RenderSystem.defaultAlphaFunc();