In GLSL, a fragment shader can sample a texture. ... Thus, an example of using texelFetch () should be: vec4 texelValue= texelFetch (texture2D The ...
確定! 回上一頁