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.enableDepthTest();
RenderSystem.enableFog(); RenderSystem.enableFog();
}; };
ms.push(); RenderSystem.pushMatrix();
ms.peek().getModel().multiply(ms.peek().getModel()); 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 for (IParticleRenderType iparticlerendertype : this.byType.keySet()) { // Forge: allow custom
// IParticleRenderType's // IParticleRenderType's
@ -92,7 +93,7 @@ public class PonderWorldParticles {
} }
} }
ms.pop(); RenderSystem.popMatrix();
RenderSystem.depthMask(true); RenderSystem.depthMask(true);
RenderSystem.disableBlend(); RenderSystem.disableBlend();
RenderSystem.defaultAlphaFunc(); RenderSystem.defaultAlphaFunc();