Jump to content

TheSpruntz

Members
  • Posts

    5
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    Yay :D

TheSpruntz's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Ok, its solver. I just changed almost everything and magically it works. Thanks
  2. I edited my code so now it looks like glColor3f(1f, 1f, 1f); glBegin(GL_QUADS); glTexCoord2f(0f, 0f); glVertex3f(1f, 0f, 0f); glTexCoord2f(1f, 0f); glVertex3f(0f, 0f, 0f); glTexCoord2f(1f, 1f); glVertex3f(0f, 1f, 0f); glTexCoord2f(0f, 1f); glVertex3f(1f, 1f, 0f); glEnd(); but i get the same results. I've also tried with Tessellator.addVertexWithUV() and Tessellator.setTranslation() but with weird results: GUI shifted, slimes flying and my block isnt rendering I'm sure it contains the correct texture, because the background is cleared in a rainbow, but over that rainbow there should be a yellow rectangle: glColor4f(1f, 1f, 0, 0f); glBegin(GL_QUADS); glVertex3f(0.8f, 0.2f, 1f); glVertex3f(0.2f, 0.2f, 1f); glVertex3f(0.2f, 0.8f, 1f); glVertex3f(0.8f, 0.8f, 1f); glEnd();
  3. Hi all. I'm testing some ideas i have for a mod. I created a block, assigned a custom renderer for it and it all works. Then, i created a FBO (Frame Buffer Object) and did some code for rendering to it. When i assigned the FBO texture to the custom renderer, it only renders the background but not the quad i'm drawing. Here´s some of the code: https://gist.github.com/anonymous/8154703 And here is a video of this code in action: PD: it actually is a block, not a square in the center of the screen, thanks perspective.
  4. I only used the EntityPlayer object, for compatibility, but I found the problem, a ModLoader method i was using in this class. Your comment made me look at it. Thanks
  5. Hi everyone Im making a mod and after working with !world.isRemote I got this error when running the server: http://pastebin.com/PBdn6c6A I searched for that clas and it was there. And also I tried the client and worked. I checked all my classes in the error log (only one), and it doesn't show any coding error. There I leave the part of my coda that gives the error on debugging: Thanks in advance.
×
×
  • Create New...

Important Information

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