vec2 size = textureSize(sampler, lod) ... In WebGL 1 you could do that but you could only address textures with texture coordinates (0.0 to 1.0).
確定! 回上一頁