Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1906fe6

Browse files
committed
Fix clockwise/counter-clockwise mixup
1 parent 4a15b22 commit 1906fe6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

en/05_Uniform_buffers/01_Descriptor_pool_and_sets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ chapter.
253253

254254
If you run your program now, then you'll notice that unfortunately nothing is
255255
visible. The problem is that because of the Y-flip we did in the projection
256-
matrix, the vertices are now being drawn in clockwise order instead of
257-
counter-clockwise order. This causes backface culling to kick in and prevents
256+
matrix, the vertices are now being drawn in counter-clockwise order instead of
257+
clockwise order. This causes backface culling to kick in and prevents
258258
any geometry from being drawn. Go to the `createGraphicsPipeline` function and
259259
modify the `frontFace` in `VkPipelineRasterizationStateCreateInfo` to correct
260260
this:

0 commit comments

Comments
 (0)