Hi guys,
The only way I can get a CCW winding order to work is to use D3D11_CULL_NONE. Take a look:
// ccw triangle on x-z plane
a = (-8.0f, 0.0f, -8.0f);
b = ( 8.0f, 0.0f, -8.0f);
c = ( 8.0f, 0.0f, 8.0f);
rasterDesc.CullMode = D3D11_CULL_BACK;
rasterDesc.FrontCounterClockwise = TRUE;
// that doesn't work
// if I swap b with c, and set FrontCounterClockwise = FALSE it works
I am really confused.
Thanks.