Skip to content

Conversation

2190303755
Copy link

Current face rendering behavior of sodium is different from vanilla due to swapped indexes. There is a demo mod that uses manual face culling at 2190303755/Cube for testing purpose.

Vanilla:
Vanilla

Sodium:
Sodium

@douira
Copy link
Collaborator

douira commented Sep 12, 2025

The indexing in question was introduced here and this change does indeed change the indexes correspond to Vanilla. Does this break core shaders that operate on entity vertices? I remember at some point we had issues with that.

@2190303755
Copy link
Author

I am sorry that I am not very familiar with shaders. I think this change only affects the visibility of faces because the only usage of getFaceIndex is in createCullMask.

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.

2 participants