Hi all,
Consider the following triangle list layout:
i [1] - [3]
^ | \ |
| [0] - [2]
|
|__ __> j
and vertex indices
Triangle 0 indices: 2 - 1 - 0
Triangle 1 indices: 3 - 1 - 2
and face culling VK_FRONT_FACE_CLOCKWISE
, why is only triangle 0 (vertices 0-1-2) showing up, given that both face normals should be facing towards the same direction?
PS: culling is clockwise, but both faces are ordered COUNTER_CLOCKWISE, so why is face 0 even showing up?
// vertices uniformsn(vec3 pos, vec3 color)
{{-0.5f, -0.5f, 0.0f}, {1.0f, 0.0f, 0.0f}},
{{-0.5f, 0.5f, 0.0f}, {1.0f, 1.0f, 1.0f}},
{{ 0.5f, -0.5f, 0.0f}, {0.0f, 1.0f, 0.0f}},
{{ 0.5f, 0.5f, 0.0f}, {0.0f, 1.0f, 1.0f}},