okay so I'm getting started with directx and C#, but the tutorials I've found are very similar and general and I'm having trouble finding the best way to do this. Any advice is appreciated on this:
I'm trying to make a grid, of varying sizes like say 10x10 or 5x5 or whatever, and I want the grid to be comprised of colored squares (or boxes). I've used the trianglestrip to make squares and I can use transforms to render the grid just fine, but I cannot figure out how to make the grids come out different colors. I set the color when I create the vertex buffer and the four vertices to make the initial square, and translate the world and such to fill the grid...
but I cannot figure out how to make it come out a different color, so I can make each square a different color.
can someone point me to a tutorial on how to change colors?
thanks!
-SelArom