For example, to assign to a variable of type vec3, one would use glUniform3f or ... Thus, an example of using texelFetch () should be: vec4 texelValue= ...
確定! 回上一頁