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

Add option to disable culling neighbors for VoxelBlockyModel #548

Merged
merged 2 commits into from
Sep 24, 2023

Conversation

spazzylemons
Copy link
Contributor

Adds an property named culls_neighbors to VoxelBlockyModel. When enabled (the default), the behavior is unchanged. When disabled, all neighboring sides are rendered. This resolves #546.

With culls_neighbors enabled:

culls_neighbors_enabled

With culls_neighbors disabled:

culls_neighbors_disabled

This property allows voxels to always show neighboring voxels, which may be
desirable for foliage to create a denser appearance.
@Zylann Zylann merged commit 75dfaf5 into Zylann:master Sep 24, 2023
15 of 16 checks passed
@Zylann
Copy link
Owner

Zylann commented Sep 24, 2023

Looks good, thanks!

@spazzylemons spazzylemons deleted the culls_neighbors branch September 24, 2023 01:57
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

Successfully merging this pull request may close these issues.

Allow disabling culling for block meshes
2 participants