Use the following WebGL types to declare uniforms corresponding to your GLSL data types. GLSL Type, WebGL type. float, GL.FLOAT. vec2 ...
確定! 回上一頁