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 behavior change? #311

Open
eisrational opened this issue Oct 28, 2022 · 1 comment
Open

Backface culling behavior change? #311

eisrational opened this issue Oct 28, 2022 · 1 comment

Comments

@eisrational
Copy link

eisrational commented Oct 28, 2022

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?

@Calinou
Copy link
Contributor

Calinou commented Jul 31, 2023

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.

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

No branches or pull requests

2 participants