Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HELP] Voxels are sometimes not showing up. #10

Open
Totobird-Creations opened this issue Feb 14, 2022 · 4 comments
Open

[HELP] Voxels are sometimes not showing up. #10

Totobird-Creations opened this issue Feb 14, 2022 · 4 comments

Comments

@Totobird-Creations
Copy link

I've generated 9 16x16x16 chunks, but some of the voxels have missing sides, or are just not there at all. How can I fix this?
block_mesh_issue

@bonsairobo
Copy link
Owner

You have not provided enough information for me to help you. Please read some guidelines on submitting issues to open source projects.

@Totobird-Creations
Copy link
Author

What is expected to happen:

  • There should be 9 chunks loaded (This is true)
  • Each chunk should have a layer of blocks at the bottom as a "floor".
  • Each chunk should have blocks where the x and z position within that chunk (z up) are equal.

What happens

  • The layer of blocks at the bottom are not visible.
  • None of the blocks at x or z = 15 (the 16th block) are visible.

Source code
https://github.com/Totobird-Creations/bevy-voxel-starter

@bonsairobo
Copy link
Owner

Thank you for the follow-up info! I will take a look today and see if I can help.

@bonsairobo
Copy link
Owner

Just so you are aware, none of the voxels on the boundary of the chunk that you mesh will be visible. Boundary voxels are only provided for visibility calculations of the voxels on the interior of the chunk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants