VulkanTutorial icon indicating copy to clipboard operation
VulkanTutorial copied to clipboard

Backface culling behavior change?

Open eisrational opened this issue 3 years ago • 1 comments

In the Descriptor pool and sets chapter, under Using descriptor sets, it is mentioned that before the following lines

rasterizer.cullMode = VK_CULL_MODE_BACK_BIT;
rasterizer.frontFace = VK_FRONT_FACE_COUNTER_CLOCKWISE;

are added, that nothing would show up. However, the square is rendered as one would expect, and the result is (to me) indifferent to what we see after these lines are added.

Has there been a change in the implementation by the driver (or at some other layer in the software stack) so that this doesn't happen anymore?

eisrational avatar Oct 28 '22 18:10 eisrational

Has there been a change in the implementation by the driver (or at some other layer in the software stack) so that this doesn't happen anymore?

On NVIDIA 535.54.03 on Linux, I still need those lines for the rectangle to show up.

Can you link to your full code? Make sure you flipped the GLM projection's sign in updateUniformBuffer(), as requested by the tutorial.

Calinou avatar Jul 31 '23 03:07 Calinou