LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: KriszDev on March 23, 2015, 16:45:09

Title: LWJGL2 Chunk rendering problems
Post by: KriszDev on March 23, 2015, 16:45:09
Hi!
I'm trying to make a game and i'd like to use chunks to store the map I hava some problems with the current code some part of the render is missing but it is created. In the picture (render.png) you can see what is gives I want to know what can i do to fill the black spaces between the chunks. There supposed to be chunks aswell but there are not rendered. I've tried to render with differend world size and it gave me the same.
Title: Re: LWJGL2 Chunk rendering problems
Post by: abcdef on March 23, 2015, 21:59:22
This isn't really the right forum to post gaming related questions, you should use java-gaming.org.

I have no idea if this is your issue but I saw this straight away, no idea if there are other bugs


}else if(x < 0 && x < 0){ //when both smaller than 0


You meant to have a y there too, not just 2 x's
Title: Re: LWJGL2 Chunk rendering problems
Post by: KriszDev on March 24, 2015, 14:02:59
Quote from: abcdef on March 23, 2015, 21:59:22
This isn't really the right forum to post gaming related questions, you should use java-gaming.org.

I have no idea if this is your issue but I saw this straight away, no idea if there are other bugs


}else if(x < 0 && x < 0){ //when both smaller than 0


You meant to have a y there too, not just 2 x's

Thank you for the other site I'll post this on that forum.