在GLSL片段着色器中,我试图将A投射 float 为 int 。编译器会引发错误: ... mediump float indexf = floor(2.0 * mixer); highp int index = indexf;. 但无济于事。
確定! 回上一頁