Reputation: 6824
I have a simple textured quad (composed of 2 triangles) that im rendering in my iPhone app using GLKit.
Now for some reason I am not seeing any difference when defining my vertices with CW notation vs CCW notation. Why is this? Note that I am using the default GLKit project template with minimal changes. Also, I am using the GLKBaseEffect for rendering, not ES2.
Upvotes: 0
Views: 488
Reputation: 7095
For a quad, CW vs CCW changes the normal -- which side of the triangles is "up". Facet culling is disabled by default (use glEnable(GL_CULL_FACE)
to enable it), so both the "up" or the "down" triangles will be rendered.
Upvotes: 1