调整扫描盘渲染模式
This commit is contained in:
parent
3ceb498a9b
commit
0ad7452ba8
1 changed files with 6 additions and 0 deletions
|
@ -127,6 +127,12 @@ public class FuMO25Screen extends AbstractContainerScreen<FuMO25Menu> {
|
|||
var poseStack = guiGraphics.pose();
|
||||
poseStack.pushPose();
|
||||
|
||||
RenderSystem.disableDepthTest();
|
||||
RenderSystem.depthMask(false);
|
||||
RenderSystem.enableBlend();
|
||||
RenderSystem.setShader(GameRenderer::getPositionTexShader);
|
||||
RenderSystem.blendFuncSeparate(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA, GlStateManager.SourceFactor.ONE, GlStateManager.DestFactor.ZERO);
|
||||
|
||||
int i = (this.width - this.imageWidth) / 2;
|
||||
int j = (this.height - this.imageHeight) / 2;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue