Adjust the laser particle

This commit is contained in:
Mrbysco 2024-03-12 18:48:51 +01:00
parent c995908d51
commit 58b9cbc9d2

View file

@ -33,10 +33,7 @@ public class ParticleBeam extends Particle {
public void begin(BufferBuilder buffer, TextureManager textureManager) { public void begin(BufferBuilder buffer, TextureManager textureManager) {
RenderSystem.disableCull(); RenderSystem.disableCull();
RenderSystem.enableBlend(); RenderSystem.enableBlend();
RenderSystem.blendFunc(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.SRC_ALPHA); RenderSystem.blendFunc(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE);
RenderSystem.enableDepthTest();
RenderSystem.depthFunc(515);
RenderSystem.depthMask(false);
} }
@Override @Override