GL20.glUniform3f(uAmbientColorUniform, ambientColorRed, ambientColorGreen, ambientColorBlue);
GL20.glUniform3f(uDirectionalColorUniform, directionalColorRed, directionalColorGreen, directionalColorBlue);
//Normal matrix to adjust the directional light depending upon rotation
//TODO need to handle the rotation
FloatMatrix4x4 normalMatrix = ((FloatMatrix4x4)rotationMatrix).inverse();
normalMatrix = normalMatrix.transpose();
float[] normalMatrixData = normalMatrix.getColumnWiseFlatData();
normalMatrixBuffer.position(0);
normalMatrixBuffer.put(normalMatrixData);
normalMatrixBuffer.position(0);
GL20.glUniformMatrix4(normalMatrixUniform, false, normalMatrixBuffer);