l am study Directx 11.And recently,l'm studying vertex buffer.But l got a problem about it.
The problem is, when l split position and color info into 2 vertex buffer and use 2 input slot(1 vertex buffer put in 1 input slot ),
but the cube's color is difference with the code use 1 input slot and 1 vertex buffer(The position and color info put in one vertex).
And then l also try using 1 input slot but using 2 vertex buffer,the cube's color difference with the first two cube.
The index buffer is same between this three cube.So why this happen?
Sorry if have any mistakes,my English level is poor.