I got an idea to improve graphical performances.
First: divide the world in cubic (16x16x16) chunks.
Then, determine in wich of the player is.
Fully render this chunk.
Then, create a 16x16x16 box around this chunk and with a low-res depth buffer or other techniques, determine wich faces are not visible.
Then, the chunks that correspond to those faces will not be visible.
You can even extrapolate the results and forthe visible chunks you repeat the process:
It's going to eleminate the render of everything under ground and create a huge performance boost I believe.
3 Comments
Please sign in to leave a comment.
Post a new comment: