Uniforms can be many types. For each type you have to call the corresponding function to set it. gl.uniform1f ( ...
確定! 回上一頁