Tag Info

New answers tagged

1

You need to look into instancing a unit-cube. InputElements[] = { { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, ..., PER_VERTEX_DATA, 0 }, { "WORLDMATRIX", 0, DXGI_FORMAT_R32G32B32A32_FLOAT, ..., PER_INSTANCE_DATA, 0 }, { "WORLDMATRIX", 1, DXGI_FORMAT_R32G32B32A32_FLOAT, ..., PER_INSTANCE_DATA, 0 }, { "WORLDMATRIX", 2, ...



Top 50 recent answers are included