int jkl = sip[gl_PrimitiveID%2]; // using a built-in per-shader variables like gl_PrimitiveID does give the error but uniform variables do as well
確定! 回上一頁