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

Mention vertex order corresponds to the primitive's winding order used for front face culling. #167

Open
JesseRMeyer opened this issue Mar 15, 2020 · 0 comments

Comments

@JesseRMeyer
Copy link

@JesseRMeyer JesseRMeyer commented Mar 15, 2020

vec2 positions[3] = vec2[](

Excellent tutorial. It would be instructive to highlight the importance of the order the vertices are declared in, and that they correspond to the winding order used for front-faced culling. I had unknowingly swapped the last two vertices as I typed them in, which caused the triangle to 'flip', be culled as part of the clockwise front face setting, and ultimately result in a blank screen upon finishing the presentation section.

@JesseRMeyer JesseRMeyer changed the title Mention vertex order coorosponds to the primitive's winding order used for front face culling. Mention vertex order corresponds to the primitive's winding order used for front face culling. Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.