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

glClear: use a Z-texture to clear the Z-buffer #52

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

mardy
Copy link
Collaborator

@mardy mardy commented Jun 26, 2024

The current version of the code is not working on a real Wii, probably due to rounding issues. To fix this, write the Z-buffer using a Z-texture: this makes the writing independent of the transformation matrix and allows us to exactly set the Z value that we desire.

The current version of the code is not working on a real Wii, probably
due to rounding issues. To fix this, write the Z-buffer using a
Z-texture: this makes the writing independent of the transformation
matrix and allows us to exactly set the Z value that we desire.
@WinterMute WinterMute merged commit 6ead963 into devkitPro:master Jul 2, 2024
2 checks passed
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