It seems that you're not allowed to cast in GLSL. Therefore, "you have to use a constructor". Try this: // http://www.shaderific.com/glsl-types/ ...
確定! 回上一頁