Almost all math operators work on both float and int data types, but not in the same expression. GLSL does not perform any automatic casting of data types.
確定! 回上一頁