Jump to content

Recommended Posts

Posted

Hello,

Is there any way to render something transparent using an IItemRenderer? I tried activating GL_BLEND and setting the BlendFunc but it doesn't seem to work...

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Posted

I am using chickenbones render library to render models but everything it does is basically writing vertices into the tessellator... (It is working when I use it to draw a block)

I am also using scala...

 

        GL11.glEnable(GL11.GL_BLEND)
        GL11.glBlendFunc(GL11.GL_ONE_MINUS_SRC_ALPHA, GL11.GL_SRC_ALPHA)
        CCRenderState.alphaOverride = 100
        renderCenterGlass(connMap, ops :+ new IconTransformation(sprites(0)):_*)
        renderConnectionGlass(connMap, ops :+ new IconTransformation(sprites(0)):_*)
        GL11.glDisable(GL11.GL_BLEND)

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

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



×
×
  • Create New...

Important Information

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