I need the GLSL equivalent of float f; int i = *(int *)&f;. I know that there is floatBitsToInt() , but unfortunately it's in 3.3 GL version and upper.
確定! 回上一頁