title: (Modern) OpenGL Different Colored Faces on a Cube - Using Shaders
body: <p>A cube with different colored faces in intermediate mode is very simple. But doing this same thing with shaders seems to be quite a challenge.</p>
  
  <p>I have read that in order to create a cube with different coloured faces, I should create 24 vertices instead of 8 vertices for the cube - in other words, (I visualies this as 6 squares that don't quite touch).</p>
  
  <p>Is perhaps another (better?) solution to texture the faces of the cube using a real simple texture a flat color - perhaps a 1x1 pixel texture?</p>
  
  <p>My texturing idea seems simpler to me - from a coder's point of view.. but which method would be the most efficient from a GPU/graphic card perspective?</p>