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

Clipping planes #64

Merged
merged 4 commits into from
Aug 15, 2024
Merged

Clipping planes #64

merged 4 commits into from
Aug 15, 2024

Conversation

mardy
Copy link
Collaborator

@mardy mardy commented Aug 4, 2024

See the changes to the documentation PDF for an explanation of how this works.

This makes sure that there are no conflicts when both stencil and
texture generation is enabled: each will use its own texture
transformation matrix.
@mardy mardy force-pushed the clipping-planes branch from 8474dfa to 00f617d Compare August 5, 2024 06:45
@mardy mardy marked this pull request as ready for review August 5, 2024 06:45
@mardy mardy force-pushed the clipping-planes branch from 00f617d to 28c1a36 Compare August 7, 2024 12:26
Instead of scaling the coordinates by -1 on the Y axis, modify the
texture data by flipping it vertically. This allows us to use
guMtxTransApply() function, which is way faster than guMtxConcat().
@WinterMute WinterMute merged commit 5aaec65 into devkitPro:master Aug 15, 2024
3 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