mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
Adjust the laser particle
This commit is contained in:
parent
c995908d51
commit
58b9cbc9d2
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue