Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMention vertex order corresponds to the primitive's winding order used for front face culling. #167
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
VulkanTutorial/code/09_shader_base.vert
Line 6 in 56389ad
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.