mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-15 22:33:42 +01:00
ponder particles, pog
This commit is contained in:
parent
c9ba76a2d1
commit
a5a9ea1b7f
1 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue