Jump to content

Flipped Block Rendering Weirdly


AndrewM16921

Recommended Posts

Basically, I'm trying to make the block render upsidedown if the block above it is solid.

 

I don't know very much about OpenGL, so I just kind of winged it. And, for the most part, it works... except for the fact that it does not render the faces nearest the viewer, and I have no idea why. It only happens when it's flipped; not when it renders normally.

 

Code:

http://paste.minecraftforge.net/view/2917e6cf

Link to comment
Share on other sites

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.