BufferUtils.setInBuffer(ColorRGBA.CYAN, colors, 12);
BufferUtils.setInBuffer(ColorRGBA.YELLOW, colors, 16);
BufferUtils.setInBuffer(ColorRGBA.YELLOW, colors, 20);
// set flat shading
final ShadingState shade = new ShadingState();
shade.setShadingMode(ShadingMode.Flat);
grip.setRenderState(shade);
// setup a material state to use the colors from the vertices.
final MaterialState material = new MaterialState();
material.setColorMaterial(ColorMaterial.Diffuse);