Jump to content

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • We are a team of expert cyber security specialists, assets specialists, and digital forensic analysts dedicated to helping individuals and organizations get back stolen digital assets and protect their financial security. WApp>>> +1 (3 6 1) 2 5 0 - 4 1 1 0
    • I have spent all morning trying to get stencils to work, and I can't seem to get any sort of response from the game? I have a basic transparent and white texture I want the shape of the cutout to be and then a texture that should be cut out, yet the texture draws fully no matter what I do. There was one old post that did it, however using  his code I have had zero luck.  This is my code so far, however its changed so many times... Please help me! poseStack.pushPose(); // Set up shader and blending RenderSystem.setShader(GameRenderer::getPositionTexShader); RenderSystem.enableBlend(); RenderSystem.defaultBlendFunc(); // Enable stencil test GL11.glEnable(GL11.GL_STENCIL_TEST); GL11.glClear(GL11.GL_STENCIL_BUFFER_BIT); // Draw portal shape to stencil buffer RenderSystem.stencilFunc(GL11.GL_ALWAYS, 1, 0xFF); RenderSystem.stencilOp(GL11.GL_KEEP, GL11.GL_KEEP, GL11.GL_REPLACE); RenderSystem.stencilMask(0xFF); RenderSystem.colorMask(false, false, false, false); RenderSystem.depthMask(false); guiGraphics.blit(maskTest,10,10,7,7,7,7); // Now draw portal texture through the stencil RenderSystem.stencilFunc(GL11.GL_EQUAL, 1, 0xFF); RenderSystem.stencilMask(0x00); RenderSystem.colorMask(true, true, true, true); RenderSystem.depthMask(true); guiGraphics.fill(0,0,30,30,Color.YELLOW.getRGB()); GL11.glDisable(GL11.GL_STENCIL_TEST); RenderSystem.disableBlend();  
    • { "parent": "wuntare:block/box" } This is a item model script, and it have not a model, idk. Then block is there, the model is there. But in hand is block with missing-texture and default block model, not custom. version: 1.21.5 forge: 55.0.21
    • Update your AMD/ATI drivers - get the drivers from their website - do not update via system  
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.