cast int8_t to GLfloat