You can read individual pixels/texels from a texture in WebGL2 with texelFetch. vec4 color = texelFetch(someUniformSampler, ivec2(pixelX, pixelY), ...
確定! 回上一頁