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

voxel width and height not working #3

Open
goldeneas opened this issue Sep 30, 2024 · 0 comments
Open

voxel width and height not working #3

goldeneas opened this issue Sep 30, 2024 · 0 comments

Comments

@goldeneas
Copy link
Owner

A recent rewrite enabling multi indexed rendering has a regression that causes the voxels to not have the correct width and height.
A solution could be to write a custom chunk.wgsl shader that also takes in voxel data as two u32s which contain position, orientation and width and height information.
This can be expanded upon to allow textures to be chosen on-the-fly by the shader by also passing the voxel id and indexing in a texture array.

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

1 participant