Change the color in Quad

Hi people!



I have a simple question.



I want change the color in my quad…I create this method :



public void setColorFootQuad(){
   FloatBuffer updateColor = BufferUtils.createVector3Buffer(1);

there's 4 verts in a quad and you're only putting in one color. (white with full alpha)



Try this:


footQuad.setSolidColor(ColorRGBA.red);

Hi renanse!



What I want is change the colors (white, lightgrey, grey, blackgrey, black)…Update everytime the colors…Sorry, my english dont help me to explain more…Fade to black and return to white…



…change the alpha values in my quad…



Thank you so much renanse!!!


Hi renanse!!!



Thank you, I solve the problem… XD