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

Backface culling #110

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Backface culling #110

merged 1 commit into from
Jan 15, 2024

Conversation

jdahlstrom
Copy link
Owner

Discard faces that are pointing away from the camera. These should always be occluded by camera-facing faces, unless the geometry has "holes". Thus rasterizing them is fully pointless.

Remove back-facing triangles in screen space. These should normally be always
occluded by front-facing geometry, so rendering them is redundant.
@jdahlstrom jdahlstrom merged commit b7425b9 into dev Jan 15, 2024
1 check passed
@jdahlstrom jdahlstrom deleted the backface-culling branch January 15, 2024 22:43
@jdahlstrom jdahlstrom mentioned this pull request Jan 18, 2024
11 tasks
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.

None yet

1 participant