在GLSL中,有个十分有用的函数: mix() ,这个函数让你以百分比混合两个值。 ... read-only out vec3 aVec3, // write-only inout int aInt); // read-write.
確定! 回上一頁