Jump to content

Recommended Posts

Posted

Hey there,

 

Seems as through there's an issue rendering entities... Or I'm missing something after the 1.7 update

 

 

Rendering works fine in third person, but not in first person.

 

It was working fine before the 1.7 update.

 

The doRender function is being called at all times, but only actually renders when not in third person.

 

doRender code:

http://pastebin.com/eN19E9Pv

 

Server log:

http://pastebin.com/kRyZY1Q9

 

Edit: Also, disabling textures causes the entity to be rendered (just with a solid color of course). I assume this is an issue with something leaving the OpenGL (blend, possibly) state incorrect?

 

 

  • 1 month later...
Posted

Found the issue, it was the OpenGL alpha function call. Must have changed values in 1.7

 

To anyone else having this issue (I doubt it, but here it is anyway):

 

GL11.glAlphaFunc(GL11.GL_GREATER, 0.1F);

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.