Convert to float and GL 3