LWJGL2 Chunk rendering problems

Started by KriszDev, March 23, 2015, 16:45:09

Previous topic - Next topic

KriszDev

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.

abcdef

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

KriszDev

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.